1 #ifndef __LINUX_STOPWATCH_H_INCLUDED
2 #define __LINUX_STOPWATCH_H_INCLUDED
4 #include <linux/clocksource.h>
6 struct stopwatch_data {
9 unsigned long clk; /* timer clock */
10 unsigned long res; /* resolution (== 1/clk) nanosec */
11 cycle_t t; /* measured tick */
14 cycle_t get_stopwatch_tick(int timer);
15 ulong get_stopwatch_clk(int timer);
16 void stopwatch_put(const char * fmt, ...);
17 #endif /* __LINUX_STOPWATCH_H_INCLUDED */