Public Member Functions | |
| time (long sec=0l, long usec=0l) throw () | |
Creates a new time with sec seconds and usec microseconds. | |
| long | sec () const throw () |
| Gets the number of seconds. | |
| long | usec () const throw () |
| Gets the number of microseconds. | |
| void | sec (long s) throw () |
| Sets the number of seconds. | |
| void | usec (long u) throw () |
| Sets the number of microseconds. | |
This timeout is compose of seconds and microseconds.
bench.cpp, mixed-way.cpp, and test-time.cpp.
| eventxx::time::time | ( | long | sec = 0l, |
|
| long | usec = 0l | |||
| ) | throw () [inline] |
Creates a new time with sec seconds and usec microseconds.
| sec | Number of seconds. | |
| usec | Number of microseconds. |
| void eventxx::time::sec | ( | long | s | ) | throw () [inline] |
Sets the number of seconds.
| s | Number of seconds. |
| long eventxx::time::sec | ( | ) | const throw () [inline] |
| void eventxx::time::usec | ( | long | u | ) | throw () [inline] |
Sets the number of microseconds.
| u | Number of microseconds. |
| long eventxx::time::usec | ( | ) | const throw () [inline] |
Gets the number of microseconds.
1.5.8