#include <time.h>
Definition at line 62 of file src/core/lib/gprpp/time.h.
◆ Timestamp() [1/2]
constexpr grpc_core::Timestamp::Timestamp |
( |
| ) |
|
|
constexprdefault |
◆ Timestamp() [2/2]
constexpr grpc_core::Timestamp::Timestamp |
( |
int64_t |
millis | ) |
|
|
inlineexplicitconstexprprivate |
◆ as_timespec()
◆ FromCycleCounterRoundDown()
Timestamp Timestamp::FromCycleCounterRoundDown |
( |
gpr_cycle_counter |
c | ) |
|
|
static |
◆ FromCycleCounterRoundUp()
Timestamp Timestamp::FromCycleCounterRoundUp |
( |
gpr_cycle_counter |
c | ) |
|
|
static |
◆ FromMillisecondsAfterProcessEpoch()
static constexpr Timestamp grpc_core::Timestamp::FromMillisecondsAfterProcessEpoch |
( |
int64_t |
millis | ) |
|
|
inlinestaticconstexpr |
◆ FromTimespecRoundDown()
◆ FromTimespecRoundUp()
◆ InfFuture()
static constexpr Timestamp grpc_core::Timestamp::InfFuture |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ InfPast()
static constexpr Timestamp grpc_core::Timestamp::InfPast |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ is_process_epoch()
bool grpc_core::Timestamp::is_process_epoch |
( |
| ) |
const |
|
inline |
◆ milliseconds_after_process_epoch()
uint64_t grpc_core::Timestamp::milliseconds_after_process_epoch |
( |
| ) |
const |
|
inline |
◆ operator!=()
constexpr bool grpc_core::Timestamp::operator!= |
( |
Timestamp |
other | ) |
const |
|
inlineconstexpr |
◆ operator+=()
◆ operator<()
constexpr bool grpc_core::Timestamp::operator< |
( |
Timestamp |
other | ) |
const |
|
inlineconstexpr |
◆ operator<=()
constexpr bool grpc_core::Timestamp::operator<= |
( |
Timestamp |
other | ) |
const |
|
inlineconstexpr |
◆ operator==()
constexpr bool grpc_core::Timestamp::operator== |
( |
Timestamp |
other | ) |
const |
|
inlineconstexpr |
◆ operator>()
constexpr bool grpc_core::Timestamp::operator> |
( |
Timestamp |
other | ) |
const |
|
inlineconstexpr |
◆ operator>=()
constexpr bool grpc_core::Timestamp::operator>= |
( |
Timestamp |
other | ) |
const |
|
inlineconstexpr |
◆ ProcessEpoch()
static constexpr Timestamp grpc_core::Timestamp::ProcessEpoch |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ ToString()
std::string Timestamp::ToString |
( |
| ) |
const |
◆ millis_
int64_t grpc_core::Timestamp::millis_ = 0 |
|
private |
The documentation for this class was generated from the following files: