#include <string>
Go to the source code of this file.
Namespaces | |
| namespace | dlr::portability |
| This namespace contains as much of the platform-specific code as possible, making the other libraries more readable. | |
Enumerations | |
| enum | TimeZone { DLR_TZ_GMT, DLR_TZ_LOCAL } |
Functions | |
| double | dlr::portability::getCurrentTime () |
| This function returns the current time as a double, the number of seconds since some significant (and OS dependent) event in the distant past. | |
| std::string | dlr::portability::getISOTimeString (TimeZone tz=DLR_TZ_LOCAL) |
| This function returns the current time as a string in the format "YYYY-MM-DD HH:MM:SS.ss". | |
| void | dlr::portability::portableSleep (double seconds) |
| This function causes the program to suspend execution for at least as many seconds as specified by its argument. | |
| void | dlr::portability::preciseSleep (int milliseconds) |
| This function causes the program to suspend execution for at least as many milliseconds as specified by its argument. | |
(C) Copyright 2004-2006 David LaRose, dlr@alumni.carnegiemellon.edu See accompanying LICENSE file for details.
Definition in file timeUtilities.h.
1.5.8