NT_SetNow

Function NT_SetNow 

Source
pub unsafe extern "C" fn NT_SetNow(timestamp: i64)
Expand description

Sets the current timestamp used for timestamping values that do not provide a timestamp (e.g. a value of 0 is passed). For consistency, it also results in NT_Now() returning the set value. This should generally be used only if the overhead of calling WPI_Now() is a concern. If used, it should be called periodically with the value of WPI_Now().

ยงParameters

  • timestamp: timestamp (1 us increments)