| Filename | /usr/local/lib/perl/5.10.1/MongoDB/Timestamp.pm |
| Statements | Executed 7 statements in 84µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 16µs | 469µs | MongoDB::Timestamp::BEGIN@35 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | # | ||||
| 2 | # Copyright 2009 10gen, Inc. | ||||
| 3 | # | ||||
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| 5 | # you may not use this file except in compliance with the License. | ||||
| 6 | # You may obtain a copy of the License at | ||||
| 7 | # | ||||
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 | ||||
| 9 | # | ||||
| 10 | # Unless required by applicable law or agreed to in writing, software | ||||
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, | ||||
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| 13 | # See the License for the specific language governing permissions and | ||||
| 14 | # limitations under the License. | ||||
| 15 | # | ||||
| 16 | |||||
| 17 | package MongoDB::Timestamp; | ||||
| 18 | 1 | 800ns | our $VERSION = '0.42'; | ||
| 19 | |||||
| 20 | # ABSTRACT: Replication timestamp | ||||
| 21 | |||||
| 22 | =head1 NAME | ||||
| 23 | |||||
| - - | |||||
| 35 | 3 | 72µs | 2 | 921µs | # spent 469µs (16+453) within MongoDB::Timestamp::BEGIN@35 which was called:
# once (16µs+453µs) by MongoDB::Connection::BEGIN@2.5 at line 35 # spent 469µs making 1 call to MongoDB::Timestamp::BEGIN@35
# spent 453µs making 1 call to Any::Moose::import |
| 36 | |||||
| 37 | =head1 ATTRIBUTES | ||||
| 38 | |||||
| - - | |||||
| 45 | 1 | 2µs | 1 | 208µs | has sec => ( # spent 208µs making 1 call to Mouse::has |
| 46 | is => 'ro', | ||||
| 47 | isa => 'Int', | ||||
| 48 | required => 1, | ||||
| 49 | ); | ||||
| 50 | |||||
| 51 | =head2 inc | ||||
| 52 | |||||
| - - | |||||
| 57 | 1 | 2µs | 1 | 195µs | has inc => ( # spent 195µs making 1 call to Mouse::has |
| 58 | is => 'ro', | ||||
| 59 | isa => 'Int', | ||||
| 60 | required => 1, | ||||
| 61 | ); | ||||
| 62 | |||||
| 63 | 1 | 7µs | 1; |