Module std.timing
Utilities for timing.
This module provides an interface for retrieving the current wall clock time.
Two functions are provided, shown below. They return microseconds and nanoseconds respectively, relative to the start of the Legion runtime. Both functions return int64
:
()
get_current_time_in_microseconds() get_current_time_in_nanoseconds
The implementation has been carefully designed to allow it to be called from any kind of task. This makes it preferable to the C API, which requires different implementations for leaf, inner and replicable tasks.