#include <assert.h>#include "common/h/Types.h"#include "common/h/fraction.h"Go to the source code of this file.
Data Structures | |
| class | timeUnit |
| class | timeBase |
| class | timeParent |
| class | timeStamp |
| class | relTimeStamp |
| class | timeLength |
Functions | |
| COMMON_EXPORT ostream & | operator<< (ostream &s, const timeUnit::ostream_fmt &u) |
| COMMON_EXPORT ostream & | operator<< (ostream &s, const timeUnit &u) |
| COMMON_EXPORT ostream & | operator<< (ostream &s, timeBase b) |
| COMMON_EXPORT ostream & | operator<< (ostream &s, timeStamp z) |
| COMMON_EXPORT ostream & | operator<< (ostream &s, relTimeStamp z) |
| COMMON_EXPORT ostream & | operator<< (ostream &s, timeLength z) |
| COMMON_EXPORT const timeStamp | operator+= (timeStamp &ts, timeLength tl) |
| COMMON_EXPORT const timeStamp | operator-= (timeStamp &ts, timeLength tl) |
| COMMON_EXPORT const timeLength | operator+= (timeLength &t, timeLength tl) |
| COMMON_EXPORT const timeLength | operator-= (timeLength &t, timeLength tl) |
| COMMON_EXPORT const timeLength | operator*= (timeLength &t, double d) |
| COMMON_EXPORT const timeLength | operator/= (timeLength &t, double d) |
| COMMON_EXPORT const timeLength | operator- (const timeLength &t) |
| COMMON_EXPORT const timeLength | operator- (const timeStamp &a, const timeStamp &b) |
| COMMON_EXPORT const timeStamp | operator+ (const timeStamp &a, const timeLength &b) |
| COMMON_EXPORT const timeStamp | operator- (const timeStamp &a, const timeLength &b) |
| COMMON_EXPORT const timeStamp | operator+ (const timeLength &a, const timeStamp &b) |
| COMMON_EXPORT const timeLength | operator+ (const timeLength &a, const timeLength &b) |
| COMMON_EXPORT const timeLength | operator- (const timeLength &a, const timeLength &b) |
| COMMON_EXPORT const timeLength | operator* (const timeLength &a, double b) |
| COMMON_EXPORT const timeLength | operator/ (const timeLength &a, double b) |
| COMMON_EXPORT const timeLength | operator* (double a, const timeLength &b) |
| COMMON_EXPORT const timeLength | operator/ (double a, const timeLength &b) |
| COMMON_EXPORT bool | operator== (const timeStamp &a, const timeStamp &b) |
| COMMON_EXPORT bool | operator!= (const timeStamp &a, const timeStamp &b) |
| COMMON_EXPORT bool | operator> (const timeStamp &a, const timeStamp &b) |
| COMMON_EXPORT bool | operator>= (const timeStamp &a, const timeStamp &b) |
| COMMON_EXPORT bool | operator< (const timeStamp &a, const timeStamp &b) |
| COMMON_EXPORT bool | operator<= (const timeStamp &a, const timeStamp &b) |
| COMMON_EXPORT timeStamp | earlier (const timeStamp &a, const timeStamp &b) |
| COMMON_EXPORT timeStamp | later (const timeStamp &a, const timeStamp &b) |
| COMMON_EXPORT bool | operator== (const timeLength &a, const timeLength &b) |
| COMMON_EXPORT bool | operator!= (const timeLength &a, const timeLength &b) |
| COMMON_EXPORT bool | operator> (const timeLength &a, const timeLength &b) |
| COMMON_EXPORT bool | operator>= (const timeLength &a, const timeLength &b) |
| COMMON_EXPORT bool | operator< (const timeLength &a, const timeLength &b) |
| COMMON_EXPORT bool | operator<= (const timeLength &a, const timeLength &b) |
| COMMON_EXPORT timeLength | minimum (const timeLength &a, const timeLength &b) |
| COMMON_EXPORT timeLength | maximum (const timeLength &a, const timeLength &b) |
| COMMON_EXPORT const timeLength | abs (const timeLength &a) |
| COMMON_EXPORT const relTimeStamp | operator+= (relTimeStamp &ts, timeLength tl) |
| COMMON_EXPORT const relTimeStamp | operator-= (relTimeStamp &ts, timeLength tl) |
| COMMON_EXPORT const timeLength | operator- (const relTimeStamp &a, const relTimeStamp &b) |
| COMMON_EXPORT const relTimeStamp | operator+ (const relTimeStamp &a, const timeLength &b) |
| COMMON_EXPORT const relTimeStamp | operator- (const relTimeStamp &a, const timeLength &b) |
| COMMON_EXPORT const relTimeStamp | operator+ (const timeLength &a, const relTimeStamp &b) |
| COMMON_EXPORT bool | operator== (const relTimeStamp &a, const relTimeStamp &b) |
| COMMON_EXPORT bool | operator!= (const relTimeStamp &a, const relTimeStamp &b) |
| COMMON_EXPORT bool | operator> (const relTimeStamp &a, const relTimeStamp &b) |
| COMMON_EXPORT bool | operator>= (const relTimeStamp &a, const relTimeStamp &b) |
| COMMON_EXPORT bool | operator< (const relTimeStamp &a, const relTimeStamp &b) |
| COMMON_EXPORT bool | operator<= (const relTimeStamp &a, const relTimeStamp &b) |
| COMMON_EXPORT relTimeStamp | earlier (const relTimeStamp &a, const relTimeStamp &b) |
| COMMON_EXPORT relTimeStamp | later (const relTimeStamp &a, const relTimeStamp &b) |
| COMMON_EXPORT const timeLength abs | ( | const timeLength & | a | ) |
Definition at line 707 of file Time.C.
References timeParent::isInitialized(), and maximum().
Referenced by Dyninst::SystemTapEntries::parseOperands(), and Dyninst::Dwarf::ConcreteDwarfResult::pushOp().
| COMMON_EXPORT relTimeStamp earlier | ( | const relTimeStamp & | a, | |
| const relTimeStamp & | b | |||
| ) |
Definition at line 784 of file Time.C.
References timeParent::isInitialized().
Definition at line 656 of file Time.C.
References timeParent::isInitialized().
| COMMON_EXPORT relTimeStamp later | ( | const relTimeStamp & | a, | |
| const relTimeStamp & | b | |||
| ) |
Definition at line 790 of file Time.C.
References timeParent::isInitialized().
Definition at line 662 of file Time.C.
References timeParent::isInitialized().
| COMMON_EXPORT timeLength maximum | ( | const timeLength & | a, | |
| const timeLength & | b | |||
| ) |
| COMMON_EXPORT timeLength minimum | ( | const timeLength & | a, | |
| const timeLength & | b | |||
| ) |
Definition at line 695 of file Time.C.
References timeParent::isInitialized().
| COMMON_EXPORT bool operator!= | ( | const relTimeStamp & | a, | |
| const relTimeStamp & | b | |||
| ) |
Definition at line 763 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT bool operator!= | ( | const timeLength & | a, | |
| const timeLength & | b | |||
| ) |
Definition at line 673 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
Definition at line 635 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT const timeLength operator* | ( | double | a, | |
| const timeLength & | b | |||
| ) |
Definition at line 617 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT const timeLength operator* | ( | const timeLength & | a, | |
| double | b | |||
| ) |
Definition at line 607 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT const timeLength operator*= | ( | timeLength & | t, | |
| double | d | |||
| ) |
Definition at line 556 of file Time.C.
References timeParent::assign(), timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT const relTimeStamp operator+ | ( | const timeLength & | a, | |
| const relTimeStamp & | b | |||
| ) |
Definition at line 747 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT const relTimeStamp operator+ | ( | const relTimeStamp & | a, | |
| const timeLength & | b | |||
| ) |
Definition at line 737 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT const timeLength operator+ | ( | const timeLength & | a, | |
| const timeLength & | b | |||
| ) |
Definition at line 597 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT const timeStamp operator+ | ( | const timeLength & | a, | |
| const timeStamp & | b | |||
| ) |
Definition at line 590 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT const timeStamp operator+ | ( | const timeStamp & | a, | |
| const timeLength & | b | |||
| ) |
Definition at line 580 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT const relTimeStamp operator+= | ( | relTimeStamp & | ts, | |
| timeLength | tl | |||
| ) |
Definition at line 719 of file Time.C.
References timeParent::assign(), timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT const timeLength operator+= | ( | timeLength & | t, | |
| timeLength | tl | |||
| ) |
Definition at line 544 of file Time.C.
References timeParent::assign(), timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT const timeStamp operator+= | ( | timeStamp & | ts, | |
| timeLength | tl | |||
| ) |
Definition at line 532 of file Time.C.
References timeParent::assign(), timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT const relTimeStamp operator- | ( | const relTimeStamp & | a, | |
| const timeLength & | b | |||
| ) |
Definition at line 741 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT const timeLength operator- | ( | const relTimeStamp & | a, | |
| const relTimeStamp & | b | |||
| ) |
Definition at line 731 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT const timeLength operator- | ( | const timeLength & | a, | |
| const timeLength & | b | |||
| ) |
Definition at line 601 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT const timeStamp operator- | ( | const timeStamp & | a, | |
| const timeLength & | b | |||
| ) |
Definition at line 584 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT const timeLength operator- | ( | const timeStamp & | a, | |
| const timeStamp & | b | |||
| ) |
Definition at line 574 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT const timeLength operator- | ( | const timeLength & | t | ) |
Definition at line 568 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT const relTimeStamp operator-= | ( | relTimeStamp & | ts, | |
| timeLength | tl | |||
| ) |
Definition at line 724 of file Time.C.
References timeParent::assign(), timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT const timeLength operator-= | ( | timeLength & | t, | |
| timeLength | tl | |||
| ) |
Definition at line 549 of file Time.C.
References timeParent::assign(), timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT const timeStamp operator-= | ( | timeStamp & | ts, | |
| timeLength | tl | |||
| ) |
Definition at line 537 of file Time.C.
References timeParent::assign(), timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT const timeLength operator/ | ( | double | a, | |
| const timeLength & | b | |||
| ) |
Definition at line 621 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT const timeLength operator/ | ( | const timeLength & | a, | |
| double | b | |||
| ) |
Definition at line 611 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT const timeLength operator/= | ( | timeLength & | t, | |
| double | d | |||
| ) |
Definition at line 561 of file Time.C.
References timeParent::assign(), timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT bool operator< | ( | const relTimeStamp & | a, | |
| const relTimeStamp & | b | |||
| ) |
Definition at line 775 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT bool operator< | ( | const timeLength & | a, | |
| const timeLength & | b | |||
| ) |
Definition at line 685 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
Definition at line 647 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT ostream& operator<< | ( | ostream & | s, | |
| timeLength | z | |||
| ) |
Definition at line 350 of file Time.C.
References timeUnit::day(), timeParent::get_ns(), timeLength::getI(), timeUnit::hour(), timeUnit::minute(), timeUnit::ms(), timeUnit::ns(), timeUnit::sec(), timeUnit::us(), and timeUnit::year().
| COMMON_EXPORT ostream& operator<< | ( | ostream & | s, | |
| relTimeStamp | z | |||
| ) |
Definition at line 422 of file Time.C.
References relTimeStamp::getI(), timeParent::isInitialized(), and timeUnit::ns().
| COMMON_EXPORT ostream& operator<< | ( | ostream & | s, | |
| timeStamp | z | |||
| ) |
Definition at line 390 of file Time.C.
References timeBase::b1970(), timeStamp::getI(), I64_C, insCommas(), timeParent::isInitialized(), timeUnit::ns(), timeUnit::sec(), and timeUnit::year().
| COMMON_EXPORT ostream& operator<< | ( | ostream & | s, | |
| timeBase | b | |||
| ) |
Definition at line 311 of file Time.C.
References timeBase::bStd(), timeBase::get_ns2StdBaseMark(), and timeUnit::ns().
| COMMON_EXPORT ostream& operator<< | ( | ostream & | s, | |
| const timeUnit & | u | |||
| ) |
Definition at line 301 of file Time.C.
References timeUnit::curFmt, timeUnit::get_ns_per_unit(), timeUnit::get_units_per_ns(), fraction::sparse, timeUnit::sparse, and fraction::verbose.
| COMMON_EXPORT ostream& operator<< | ( | ostream & | s, | |
| const timeUnit::ostream_fmt & | u | |||
| ) |
Definition at line 296 of file Time.C.
References timeUnit::curFmt.
| COMMON_EXPORT bool operator<= | ( | const relTimeStamp & | a, | |
| const relTimeStamp & | b | |||
| ) |
Definition at line 779 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT bool operator<= | ( | const timeLength & | a, | |
| const timeLength & | b | |||
| ) |
Definition at line 689 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
Definition at line 651 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT bool operator== | ( | const relTimeStamp & | a, | |
| const relTimeStamp & | b | |||
| ) |
Definition at line 759 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT bool operator== | ( | const timeLength & | a, | |
| const timeLength & | b | |||
| ) |
Definition at line 669 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
Definition at line 631 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT bool operator> | ( | const relTimeStamp & | a, | |
| const relTimeStamp & | b | |||
| ) |
Definition at line 767 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT bool operator> | ( | const timeLength & | a, | |
| const timeLength & | b | |||
| ) |
Definition at line 677 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
Definition at line 639 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT bool operator>= | ( | const relTimeStamp & | a, | |
| const relTimeStamp & | b | |||
| ) |
Definition at line 771 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
| COMMON_EXPORT bool operator>= | ( | const timeLength & | a, | |
| const timeLength & | b | |||
| ) |
Definition at line 681 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
Definition at line 643 of file Time.C.
References timeParent::get_ns(), and timeParent::isInitialized().
1.6.1