List of all members.
Public Types |
enum | Type { kProcessClock = CLOCK_PROCESS_CPUTIME_ID,
kThreadClock = CLOCK_THREAD_CPUTIME_ID
} |
typedef int64_t | Diff |
Public Member Functions |
| Clock (const Type type) |
Diff | operator- (const Clock &rhs) const |
Static Public Member Functions |
static Diff | Duration (const Clock &beg, const Clock &end) |
static std::string | DiffStr (const Diff &diff) |
static Diff | Resolution () |
Static Public Attributes |
static const Diff | kSecInMin = 60 |
static const Diff | kMilliInSec = 1000 |
static const Diff | kMicroInMilli = 1000 |
static const Diff | kNanoInMicro = 1000 |
static const Diff | kMicroInSec = kMilliInSec * kMicroInMilli |
static const Diff | kMicroInMin = kMicroInSec * kSecInMin |
static constexpr double | kMilliInMicro = 1.0 / kMicroInMilli |
static constexpr double | kMicroInNano = 1.0 / kNanoInMicro |
static constexpr double | kSecInMicro = 1.0 / kMicroInSec |
static constexpr double | kMinInMicro = 1.0 / kMicroInMin |
The documentation for this class was generated from the following file: