/home/dko/projects/mobilec/trunk/src/security/xyssl-0.9/include/xyssl/timing.h File Reference
Go to the source code of this file.
Data Structures
Functions
Return the CPU cycle counter value.
Return the elapsed time in milliseconds.
Setup an alarm clock.
Sleep for a certain amount of time.
Variables
Detailed Description
Definition in file timing.h.
Function Documentation
unsigned long get_timer
(
struct
hr_time *
val,
)
Return the elapsed time in milliseconds.
- Parameters:
-
val points to a timer structure
reset if set to 1, the timer is restarted
Referenced by ssl_test().
unsigned long hardclock
(
void
)
Return the CPU cycle counter value.
Referenced by main().
void m_sleep
(
int
milliseconds
)
Sleep for a certain amount of time.
void set_alarm
(
int
seconds
)
Setup an alarm clock.
- Parameters:
-
seconds delay before the "alarmed" flag is set
Referenced by main().
Variable Documentation