Variable | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 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-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version