timeUtilities.h File Reference

Header file declaring some useful time-related routines. More...

#include <string>

Include dependency graph for timeUtilities.h:

This graph shows which files directly or indirectly include this file:

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.


Detailed Description

Header file declaring some useful time-related routines.

(C) Copyright 2004-2006 David LaRose, dlr@alumni.carnegiemellon.edu See accompanying LICENSE file for details.

Revision
1175
Date
2009-07-21 15:35:49 -0400 (Tue, 21 Jul 2009)

Definition in file timeUtilities.h.


Generated on Wed Nov 25 00:03:49 2009 for dlrPortability Utility Library by  doxygen 1.5.8