Home › Forums › Software Development › C++ Interaction Library – What’s IL::Timestamp counted in? › Reply To: C++ Interaction Library – What’s IL::Timestamp counted in?
09/03/2021 at 18:13 #20024
Grant [Tobii]
Keymaster
Hi @itsmehjb, The IL::Timestamp is merely a number for an instant in time. It’s based from the processor clock and is counted in micro-seconds.
It’s mainly to be used for relative purposes, eg this timestamp minus the last one. If required wants, one can simply save the first timestamp receivee and subtract that from all future timestamps to get “time since started”.
One could also query the high-performance counter directly at the start of the program and use that as the zeroing-value, as long as it is converted to microseconds.