#include <timeval.h>
Public Member Functions | |
TimeVal (long secs=0, long usecs=0) | |
bool | operator< (const TimeVal &tv) const |
bool | operator== (const TimeVal &tv) const |
bool | operator<= (const TimeVal &tv) const |
bool | operator>= (const TimeVal &tv) const |
TimeVal | operator- (const TimeVal &tv) const |
TimeVal | operator+ (const TimeVal &tv) const |
void | get_current_time () |
Public Attributes | |
long | tv_sec |
long | tv_usec |
|
Constructor.
|
|
Get the current time.
Store the current time in |
|
Addition operator.
|
|
Substraction operator.
|
|
Comparision operator.
|
|
Comparision operator.
|
|
Comparision operator.
|
|
Comparision operator.
|
|
Seconds.
|
|
Microseconds.
|