solana_sdk

Module timing

Source
Expand description

The timing module provides std::time utility functions.

Structs§

AtomicInterval

Constants§

SECONDS_PER_YEAR

Functions§

duration_as_msDeprecated
duration_as_nsDeprecated
duration_as_sDeprecated
duration_as_usDeprecated
slot_duration_from_slots_per_year
From slots per year to slot duration
timestamp
return timestamp as ms
years_as_slots
from years to slots