#ifndef _TIME_MEASURE_H__
#define _TIME_MEASURE_H__
#include "os/os_types.h"

typedef struct {
	bool first;
	u32 exec_count;
	u32 exec_time;
	u32 intval_count;
	u32 intval_time;
	u32 intval_max_time;
	u32 intval_low_err;
	u32 intval_hi_err;
	u32 exec_max_time;
	u32 exec_max_error_time;
	u32 exec_time_error;
	u32 intval_time_l_error;
	u32 intval_time_h_error;
}measure_time_t;


void time_measure_start(measure_time_t *m);
void time_measure_end(measure_time_t *m);


#endif	/* _TIME_MEASURE_H__ */

