VariablePackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version

*cg-timer-resolution*

Applicable on the GTK platform only.

This variable determines how often the *single-cg-event-handling-process* will check for timer events. It is measured in seconds, and the default value is 0.1.

On GTK, timer events do not wake up the event-handling process as other events do, and so we must periodically check for them proactively. This creates a trade-off where checking less often makes timers less responsive, while checking more often slows other activity down as the event-handling process is run frequently to check for timer events.

The default value should be an adequate compromise for most applications, but if you need timers that respond with greater than tenth-of-a-second accuracy, then you would need to set this variable to a smaller value. Or, if you don't make much use of Common Graphics timers, you might want to set it to a larger value to see if that increases overall performance.

See cg-timers.htm.


Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version