TimeET.h File Reference
Describes TimeET, a nice class for handling time values with high precision.
More...
#include <iostream>
#include <sys/time.h>
Go to the source code of this file.
Functions |
std::ostream & | operator<< (std::ostream &o, const TimeET &t) |
| displays the value as text: secs~usecs
|
|
|
TimeET | operator+ (long t1, const TimeET &t2) |
| for doing doing math with time
|
TimeET | operator- (long t1, const TimeET &t2) |
| for doing doing math with time
|
TimeET | operator+ (double t1, const TimeET &t2) |
| for doing doing math with time
|
TimeET | operator- (double t1, const TimeET &t2) |
| for doing doing math with time
|
TimeET | operator* (double x, const TimeET &t) |
| for doing doing math with time
|
Detailed Description
Describes TimeET, a nice class for handling time values with high precision.
- Author:
- ejt (Creator)
Definition in file TimeET.h.
Function Documentation
TimeET operator* |
( |
double |
x, |
|
|
const TimeET & |
t | |
|
) |
| | |
for doing doing math with time
Definition at line 214 of file TimeET.h.
TimeET operator+ |
( |
double |
t1, |
|
|
const TimeET & |
t2 | |
|
) |
| | |
for doing doing math with time
Definition at line 212 of file TimeET.h.
TimeET operator+ |
( |
long |
t1, |
|
|
const TimeET & |
t2 | |
|
) |
| | |
for doing doing math with time
Definition at line 210 of file TimeET.h.
TimeET operator- |
( |
double |
t1, |
|
|
const TimeET & |
t2 | |
|
) |
| | |
for doing doing math with time
Definition at line 213 of file TimeET.h.
TimeET operator- |
( |
long |
t1, |
|
|
const TimeET & |
t2 | |
|
) |
| | |
for doing doing math with time
Definition at line 211 of file TimeET.h.
std::ostream& operator<< |
( |
std::ostream & |
o, |
|
|
const TimeET & |
t | |
|
) |
| | |
displays the value as text: secs~usecs
lets the class be displayed easily
Definition at line 218 of file TimeET.h.