Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
time.h File Reference
#include "../basic_types.h"
#include "../string/cstring.h"
#include <time.h>
#include <sys/resource.h>
Include dependency graph for time.h:
This graph shows which files directly or indirectly include this file:
Typedefs | |
typedef _CTimer | CTimer |
Functions | |
static void | startTimer (CTimer *t) |
static void | stopTimer (CTimer *t) |
static void | printTimer (ostream &out, CTimer *t) |
static CString | printTimer (CTimer *t) |
Typedef Documentation
|
|
Function Documentation
|
printTimer () The function returns the value of the timer in milliseconds as a string. |
|
printTimer () The function prints the value of the timer in milliseconds to the supplied output stream. |
|
startTimer () The function start measuring the elapsed user and system time from this point onwards. |
|
stopTimer () The function stops measuring the elapsed user and system time and it computes the total elapsed time. This time is accesible via t->time (struct timeval). |