Parent Directory
|
Revision Log
Revision 392 - (view) (download)
1 : | Isibaar | 3 | #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 : | h | 69 | extern void stop_interlacing_timer(); |
25 : | Isibaar | 3 | extern void stop_global_timer(); |
26 : | extern void init_timer(); | ||
27 : | extern void write_timer(); | ||
28 : | |||
29 : | #else | ||
30 : | |||
31 : | edgomez | 195 | static __inline void |
32 : | start_timer() | ||
33 : | { | ||
34 : | } | ||
35 : | static __inline void | ||
36 : | start_global_timer() | ||
37 : | { | ||
38 : | } | ||
39 : | static __inline void | ||
40 : | stop_dct_timer() | ||
41 : | { | ||
42 : | } | ||
43 : | static __inline void | ||
44 : | stop_idct_timer() | ||
45 : | { | ||
46 : | } | ||
47 : | static __inline void | ||
48 : | stop_motion_timer() | ||
49 : | { | ||
50 : | } | ||
51 : | static __inline void | ||
52 : | stop_comp_timer() | ||
53 : | { | ||
54 : | } | ||
55 : | static __inline void | ||
56 : | stop_edges_timer() | ||
57 : | { | ||
58 : | } | ||
59 : | static __inline void | ||
60 : | stop_inter_timer() | ||
61 : | { | ||
62 : | } | ||
63 : | static __inline void | ||
64 : | stop_quant_timer() | ||
65 : | { | ||
66 : | } | ||
67 : | static __inline void | ||
68 : | stop_iquant_timer() | ||
69 : | { | ||
70 : | } | ||
71 : | static __inline void | ||
72 : | stop_conv_timer() | ||
73 : | { | ||
74 : | } | ||
75 : | static __inline void | ||
76 : | stop_transfer_timer() | ||
77 : | { | ||
78 : | } | ||
79 : | static __inline void | ||
80 : | init_timer() | ||
81 : | { | ||
82 : | } | ||
83 : | static __inline void | ||
84 : | write_timer() | ||
85 : | { | ||
86 : | } | ||
87 : | static __inline void | ||
88 : | stop_coding_timer() | ||
89 : | { | ||
90 : | } | ||
91 : | static __inline void | ||
92 : | stop_interlacing_timer() | ||
93 : | { | ||
94 : | } | ||
95 : | static __inline void | ||
96 : | stop_prediction_timer() | ||
97 : | { | ||
98 : | } | ||
99 : | static __inline void | ||
100 : | stop_global_timer() | ||
101 : | { | ||
102 : | } | ||
103 : | Isibaar | 3 | |
104 : | #endif | ||
105 : | |||
106 : | edgomez | 195 | #endif /* _TIMER_H_ */ |
No admin address has been configured | ViewVC Help |
Powered by ViewVC 1.0.4 |