Go to the source code of this file.
| Data Structures | |
| struct | hr_time | 
| timer structure  More... | |
| Functions | |
| unsigned long | hardclock (void) | 
| Return the CPU cycle counter value. | |
| unsigned long | get_timer (struct hr_time *val, int reset) | 
| Return the elapsed time in milliseconds. | |
| void | set_alarm (int seconds) | 
| Setup an alarm clock. | |
| void | m_sleep (int milliseconds) | 
| Sleep for a certain amount of time. | |
| Variables | |
| int | alarmed | 
Definition in file timing.h.
Return the elapsed time in milliseconds.
| val | points to a timer structure | |
| reset | if set to 1, the timer is restarted | 
Referenced by ssl_test().
| unsigned long hardclock | ( | void | ) | 
| void m_sleep | ( | int | milliseconds | ) | 
Sleep for a certain amount of time.
| void set_alarm | ( | int | seconds | ) | 
Setup an alarm clock.
| seconds | delay before the "alarmed" flag is set | 
Referenced by main().
 1.5.5
 1.5.5