Function cargo::core::global_cache_tracker::now

source ยท
fn now() -> u64
Expand description

Returns the current time.

This supports pretending that the time is different for testing using an environment variable.

If possible, try to avoid calling this too often since accessing clocks can be a little slow on some systems.