Noma Timers Manuals

Posted on

User Manual: N1-506. User Manual: N1-506. Noma N1506 Timer Instructions N1 506. Shop mechanical timers at https://bit.ly/33G4zaG.

  1. Noma Timer Manual 49885
  2. Noma Timers Manual
  3. Noma Timers Manuals Craftsman
  4. Noma Timer Manual 052

Timers

Timers — keep track of elapsed time

Functions

GTimer *g_timer_new()
voidg_timer_start()
voidg_timer_stop()
voidg_timer_continue()
gdoubleg_timer_elapsed()
voidg_timer_reset()
voidg_timer_destroy()
gbooleang_timer_is_active()

Types and Values

Includes

Description

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.

Functions

g_timer_new ()

Creates a new timer, and starts timing (i.e. g_timer_start() isimplicitly called for you).

Noma

g_timer_start ()

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 callg_timer_start() immediately after creating the timer.

Parameters

g_timer_stop ()

Marks an end time, so calls to g_timer_elapsed() will return thedifference between this end time and the start time.

Parameters

g_timer_continue ()

Resumes a timer that has previously been stopped withg_timer_stop(). g_timer_stop() must be called before using thisfunction.

Parameters

Since: 2.4

Manuals

g_timer_elapsed ()

If 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.

Parameters

timer

a GTimer.

microseconds

return location for the fractional part of secondselapsed, in microseconds (that is, the total numberof microseconds elapsed, modulo 1000000), or NULL

Returns

seconds elapsed as a floating point value, including anyfractional part.

g_timer_reset ()

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.

Parameters

g_timer_destroy ()

Destroys a timer, freeing associated resources.

Parameters

Noma Timer Manual 49885

g_timer_is_active ()

Exposes whether the timer is currently active.

Parameters

Returns

TRUE if the timer is running, FALSE otherwise

Noma Timers Manual

Since: 2.62

Noma Timers Manuals Craftsman

Types and Values

Noma Timer Manual 052

Generated by GTK-Doc V1.33.0