27#ifndef POLARSSL_TIMING_H
28#define POLARSSL_TIMING_H
30#if !defined(POLARSSL_CONFIG_FILE)
33#include POLARSSL_CONFIG_FILE
36#if !defined(POLARSSL_TIMING_ALT)
81#if defined(POLARSSL_SELF_TEST)
95#include "timing_alt.h"
Configuration options (set of defines)
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 m_sleep(int milliseconds)
Sleep for a certain amount of time.
void set_alarm(int seconds)
Setup an alarm clock.
int timing_self_test(int verbose)
Checkup routine.