|
Bsoft 2.1.4
Bernard's software package
|
Utilities for timing functions. More...
Functions | |
| tm * | get_localtime () |
| Returns the current local time. More... | |
| double | getwalltime () |
| Returns the current time. More... | |
| double | getcputime () |
| Returns the clock time. More... | |
| double | timer_start () |
| Starts timer and prints the time. More... | |
| double | timer_report (double lasttime) |
| Reports the time elapsed since a given time. More... | |
Utilities for timing functions.
| tm * get_localtime | ( | ) |
Returns the current local time.
The time format is in the tm struct.
| double getcputime | ( | ) |
Returns the clock time.
The time format is in clock seconds since the start of the process.
| double getwalltime | ( | ) |
Returns the current time.
The time format is in seconds since Jan. 1, 1970, including microseconds.
| double timer_report | ( | double | lasttime | ) |
Reports the time elapsed since a given time.
| lasttime | the given initial time. |
| double timer_start | ( | ) |
Starts timer and prints the time.