Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages | Examples

Timers


Functions

void vallst_setTimeLimitInMilliSec (VallstInstance *vi, long long int milliSec, bool startFromCurrentClock)
void vallst_setTimeLimitInSec (VallstInstance *vi, unsigned int sec, bool startFromCurrentClock)

Function Documentation

void vallst_setTimeLimitInMilliSec VallstInstance vi,
long long int  milliSec,
bool  startFromCurrentClock
 

Sets the overall time limit in milliseconds.

If startFromCurrentClock is true, the timer will start counting toward the time limit from the current clock. Otherwise the counting is from when the main program was started. With startFromCurrentClock=false the timer is only guaranteed to be accurate if vallst_setTimeLimitInMilliSec() (or vallst_setTimeLimitInSec()) was called within 35 min from when the main program was started.

void vallst_setTimeLimitInSec VallstInstance vi,
unsigned int  sec,
bool  startFromCurrentClock
 

Sets the overall time limit in seconds. See vallst_setTimeLimitInMilliSec().


Copyright (C) 2004-2005 Daniel Vallstrom. See the various vallst files for license notices.

Generated on Mon Jul 18 11:34:15 2005 for Vallst by doxygen 1.4.3.