User Manual: N1-506. User Manual: N1-506. Noma N1506 Timer Instructions N1 506. Shop mechanical timers at https://bit.ly/33G4zaG.
Timers — keep track of elapsed time
Types and Values
GTimer records a start time, and counts microseconds elapsed sincethat time. This is done somewhat differently on different platforms,and can be tricky to get exactly right, so GTimer provides aportable/convenient interface.
Creates a new timer, and starts timing (i.e.
g_timer_start() isimplicitly called for you).
Marks a start time, so that future calls to
g_timer_elapsed() willreport the time since
g_timer_start() was called.
g_timer_new()automatically marks the start time, so no need to call
g_timer_start() immediately after creating the timer.
Marks an end time, so calls to
g_timer_elapsed() will return thedifference between this end time and the start time.
Resumes a timer that has previously been stopped with
g_timer_stop() must be called before using thisfunction.
timer has been started but not stopped, obtains the time sincethe timer was started. If
timer has been stopped, obtains theelapsed time between the time it was started and the time it wasstopped. The return value is the number of seconds elapsed,including any fractional part. The
microseconds out parameter isessentially useless.
return location for the fractional part of secondselapsed, in microseconds (that is, the total numberof microseconds elapsed, modulo 1000000), or
seconds elapsed as a floating point value, including anyfractional part.
This function is useless; it's fine to call
g_timer_start() on analready-started timer to reset the start time, so
g_timer_reset()serves no purpose.
Destroys a timer, freeing associated resources.
Noma Timer Manual 49885
Exposes whether the timer is currently active.
TRUE if the timer is running,
Noma Timers Manual