#include <time.h>
Definition at line 122 of file src/core/lib/gprpp/time.h.
◆ Duration() [1/2]
constexpr grpc_core::Duration::Duration |
( |
| ) |
|
|
inlineconstexprnoexcept |
◆ Duration() [2/2]
constexpr grpc_core::Duration::Duration |
( |
int64_t |
millis | ) |
|
|
inlineexplicitconstexprprivate |
◆ as_timespec()
◆ Epsilon()
static constexpr Duration grpc_core::Duration::Epsilon |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ FromSecondsAndNanoseconds()
◆ FromSecondsAsDouble()
Duration Duration::FromSecondsAsDouble |
( |
double |
seconds | ) |
|
|
inlinestatic |
◆ FromTimespec()
◆ Hours()
◆ Infinity()
static constexpr Duration grpc_core::Duration::Infinity |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ MicrosecondsRoundDown()
static constexpr Duration grpc_core::Duration::MicrosecondsRoundDown |
( |
int64_t |
micros | ) |
|
|
inlinestaticconstexpr |
◆ MicrosecondsRoundUp()
static constexpr Duration grpc_core::Duration::MicrosecondsRoundUp |
( |
int64_t |
micros | ) |
|
|
inlinestaticconstexpr |
◆ millis()
constexpr int64_t grpc_core::Duration::millis |
( |
| ) |
const |
|
inlineconstexpr |
◆ Milliseconds()
static constexpr Duration grpc_core::Duration::Milliseconds |
( |
int64_t |
millis | ) |
|
|
inlinestaticconstexpr |
◆ Minutes()
◆ NanosecondsRoundDown()
static constexpr Duration grpc_core::Duration::NanosecondsRoundDown |
( |
int64_t |
nanos | ) |
|
|
inlinestaticconstexpr |
◆ NanosecondsRoundUp()
static constexpr Duration grpc_core::Duration::NanosecondsRoundUp |
( |
int64_t |
nanos | ) |
|
|
inlinestaticconstexpr |
◆ NegativeInfinity()
static constexpr Duration grpc_core::Duration::NegativeInfinity |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ operator grpc_event_engine::experimental::EventEngine::Duration()
◆ operator!=()
constexpr bool grpc_core::Duration::operator!= |
( |
Duration |
other | ) |
const |
|
inlineconstexpr |
◆ operator+=()
◆ operator/=()
◆ operator<()
constexpr bool grpc_core::Duration::operator< |
( |
Duration |
other | ) |
const |
|
inlineconstexpr |
◆ operator<=()
constexpr bool grpc_core::Duration::operator<= |
( |
Duration |
other | ) |
const |
|
inlineconstexpr |
◆ operator==()
constexpr bool grpc_core::Duration::operator== |
( |
Duration |
other | ) |
const |
|
inlineconstexpr |
◆ operator>()
constexpr bool grpc_core::Duration::operator> |
( |
Duration |
other | ) |
const |
|
inlineconstexpr |
◆ operator>=()
constexpr bool grpc_core::Duration::operator>= |
( |
Duration |
other | ) |
const |
|
inlineconstexpr |
◆ seconds()
double grpc_core::Duration::seconds |
( |
| ) |
const |
|
inline |
◆ Seconds()
◆ ToJsonString()
std::string Duration::ToJsonString |
( |
| ) |
const |
◆ ToString()
std::string Duration::ToString |
( |
| ) |
const |
◆ Zero()
static constexpr Duration grpc_core::Duration::Zero |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ millis_
int64_t grpc_core::Duration::millis_ |
|
private |
The documentation for this class was generated from the following files: