Definition in file SgTime.h.
#include <string>
Go to the source code of this file.
Namespaces | |
namespace | SgTime |
Enumerations | |
enum | SgTimeMode { SG_TIME_CPU, SG_TIME_REAL } |
Time measurement mode used in SgTime. More... | |
Functions | |
string | SgTime::Format (double time, bool minsAndSecs=true) |
Format time as MM:SS. | |
double | SgTime::Get () |
Get time using the default mode. | |
double | SgTime::Get (SgTimeMode mode) |
Get time using explicit mode. | |
SgTimeMode | SgTime::DefaultMode () |
Return current default time mode. | |
void | SgTime::SetDefaultMode (SgTimeMode mode) |
Set default time mode. | |
string | SgTime::TodaysDate () |
enum SgTimeMode |