Parent Directory | Revision Log
Revision 1.1 - (view) (download)
1 : | Isibaar | 1.1 | #ifndef _ENCORE_TIMER_H |
2 : | #define _ENCORE_TIMER_H | ||
3 : | |||
4 : | #if defined(_PROFILING_) | ||
5 : | |||
6 : | #include "../portab.h" | ||
7 : | |||
8 : | uint64_t count_frames; | ||
9 : | |||
10 : | extern void start_timer(); | ||
11 : | extern void start_global_timer(); | ||
12 : | extern void stop_dct_timer(); | ||
13 : | extern void stop_idct_timer(); | ||
14 : | extern void stop_motion_timer(); | ||
15 : | extern void stop_comp_timer(); | ||
16 : | extern void stop_edges_timer(); | ||
17 : | extern void stop_inter_timer(); | ||
18 : | extern void stop_quant_timer(); | ||
19 : | extern void stop_iquant_timer(); | ||
20 : | extern void stop_conv_timer(); | ||
21 : | extern void stop_transfer_timer(); | ||
22 : | extern void stop_coding_timer(); | ||
23 : | extern void stop_prediction_timer(); | ||
24 : | extern void stop_global_timer(); | ||
25 : | extern void init_timer(); | ||
26 : | extern void write_timer(); | ||
27 : | |||
28 : | #else | ||
29 : | |||
30 : | static __inline void start_timer() {} | ||
31 : | static __inline void start_global_timer() {} | ||
32 : | static __inline void stop_dct_timer() {} | ||
33 : | static __inline void stop_idct_timer() {} | ||
34 : | static __inline void stop_motion_timer() {} | ||
35 : | static __inline void stop_comp_timer() {} | ||
36 : | static __inline void stop_edges_timer() {} | ||
37 : | static __inline void stop_inter_timer() {} | ||
38 : | static __inline void stop_quant_timer() {} | ||
39 : | static __inline void stop_iquant_timer() {} | ||
40 : | static __inline void stop_conv_timer() {} | ||
41 : | static __inline void stop_transfer_timer() {} | ||
42 : | static __inline void init_timer() {} | ||
43 : | static __inline void write_timer() {} | ||
44 : | static __inline void stop_coding_timer() {} | ||
45 : | static __inline void stop_prediction_timer() {} | ||
46 : | static __inline void stop_global_timer() {} | ||
47 : | |||
48 : | #endif | ||
49 : | |||
50 : | #endif /* _TIMER_H_ */ |
No admin address has been configured | ViewVC Help |
Powered by ViewVC 1.0.4 |