User Tools

Site Tools


Sleep.exe with millisecond resolution

The sleep.exe executable distributed with the GAMS system for Windows by default continues running until the specified number of seconds has elapsed. At a command line enter sleep –help for more information. For some applications, a finer resolution could be useful:

  • Under Windows, the Windows Server 2003 Resource Kit Tools (google to locate this) contains a sleep executable that works with a millisecond resolution.
  • Under UNIX the command usleep sleeps some number of microseconds. Check sleep –help for more information.
gams/sleep.exe_with_millisecond_resolution.txt · Last modified: 2007/08/07 10:45 (external edit)