FixIO Documentation

Back to summary

import "io/time";

Monotonic class

Gives access to monotonic time.

Functions

static function get_time(): Integer
Returns the monotonic time in milliseconds since an arbitrary start.
Note: You must use wraparound arithmetic (eg. using the sub32 intrinsic function to get the difference between timestamps).
static function get_micro_time(): Integer
Returns the monotonic time in microseconds since an arbitrary start.
Note: You must use wraparound arithmetic (eg. using the sub32 intrinsic function to get the difference between timestamps).