Death::Environment namespace

Platform-specific environment helper functions.

Functions

auto IsSandboxed() -> bool
Returns whether the application is running in a sandboxed environment.
auto QueryUnbiasedInterruptTime() -> std::uint64_t
Returns the current unbiased interrupt-time count, in units of 100 nanoseconds.
auto QueryUnbiasedInterruptTimeAsMs() -> std::uint64_t
Returns the current unbiased interrupt-time count, in milliseconds.

Function documentation

std::uint64_t Death::Environment::QueryUnbiasedInterruptTime()

Returns the current unbiased interrupt-time count, in units of 100 nanoseconds.

The unbiased interrupt-time count does not include time the system spends in sleep or hibernation. Falls back to another monotonic time source if not supported.

std::uint64_t Death::Environment::QueryUnbiasedInterruptTimeAsMs()

Returns the current unbiased interrupt-time count, in milliseconds.

The unbiased interrupt-time count does not include time the system spends in sleep or hibernation. Falls back to another monotonic time source if not supported.