#include <time.h>
Public Member Functions | |
constexpr | Duration () |
constexpr | Duration (const Duration &d)=default |
Duration & | operator%= (Duration rhs) |
Duration & | operator*= (int64_t r) |
Duration & | operator*= (double r) |
template<typename T > | |
Duration & | operator*= (T r) |
Duration & | operator*= (float r) |
Duration & | operator+= (Duration d) |
Duration & | operator-= (Duration d) |
Duration & | operator/= (int64_t r) |
Duration & | operator/= (double r) |
template<typename T > | |
Duration & | operator/= (T r) |
Duration & | operator/= (float r) |
Duration & | operator= (const Duration &d)=default |
Private Member Functions | |
constexpr | Duration (int64_t hi, uint32_t lo) |
Private Attributes | |
int64_t | rep_hi_ |
uint32_t | rep_lo_ |
Friends | |
template<typename H > | |
H | AbslHashValue (H h, Duration d) |
constexpr int64_t | time_internal::GetRepHi (Duration d) |
constexpr uint32_t | time_internal::GetRepLo (Duration d) |
constexpr Duration | time_internal::MakeDuration (int64_t hi, uint32_t lo) |
|
default |
|
inlineprivate |
Definition at line 471 of file duration.cc.
Duration & absl::Duration::operator*= | ( | int64_t | r | ) |
Definition at line 439 of file duration.cc.
Duration & absl::Duration::operator*= | ( | double | r | ) |
Definition at line 447 of file duration.cc.
|
inline |
Definition at line 399 of file duration.cc.
Definition at line 416 of file duration.cc.
Duration & absl::Duration::operator/= | ( | int64_t | r | ) |
Definition at line 455 of file duration.cc.
Duration & absl::Duration::operator/= | ( | double | r | ) |
Definition at line 463 of file duration.cc.
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |