[cvs] / xvidcore / src / utils / timer.h Repository:
ViewVC logotype

Annotation of /xvidcore/src/utils/timer.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (view) (download)

1 : edgomez 1.9 #ifndef _ENCORE_TIMER_H
2 :     #define _ENCORE_TIMER_H
3 : Isibaar 1.1
4 : edgomez 1.9 #if defined(_PROFILING_)
5 : Isibaar 1.1
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 1.2 extern void stop_interlacing_timer();
25 : Isibaar 1.1 extern void stop_global_timer();
26 :     extern void init_timer();
27 :     extern void write_timer();
28 :    
29 :     #else
30 :    
31 : edgomez 1.4 static __inline void
32 : edgomez 1.9 start_timer()
33 : edgomez 1.4 {
34 :     }
35 :     static __inline void
36 : edgomez 1.9 start_global_timer()
37 : edgomez 1.4 {
38 :     }
39 :     static __inline void
40 : edgomez 1.9 stop_dct_timer()
41 : edgomez 1.4 {
42 :     }
43 :     static __inline void
44 : edgomez 1.9 stop_idct_timer()
45 : edgomez 1.4 {
46 :     }
47 :     static __inline void
48 : edgomez 1.9 stop_motion_timer()
49 : edgomez 1.4 {
50 :     }
51 :     static __inline void
52 : edgomez 1.9 stop_comp_timer()
53 : edgomez 1.4 {
54 :     }
55 :     static __inline void
56 : edgomez 1.9 stop_edges_timer()
57 : edgomez 1.4 {
58 :     }
59 :     static __inline void
60 : edgomez 1.9 stop_inter_timer()
61 : edgomez 1.4 {
62 :     }
63 :     static __inline void
64 : edgomez 1.9 stop_quant_timer()
65 : edgomez 1.4 {
66 :     }
67 :     static __inline void
68 : edgomez 1.9 stop_iquant_timer()
69 : edgomez 1.4 {
70 :     }
71 :     static __inline void
72 : edgomez 1.9 stop_conv_timer()
73 : edgomez 1.4 {
74 :     }
75 :     static __inline void
76 : edgomez 1.9 stop_transfer_timer()
77 : edgomez 1.4 {
78 :     }
79 :     static __inline void
80 : edgomez 1.9 init_timer()
81 : edgomez 1.4 {
82 :     }
83 :     static __inline void
84 : edgomez 1.9 write_timer()
85 : edgomez 1.4 {
86 :     }
87 :     static __inline void
88 : edgomez 1.9 stop_coding_timer()
89 : edgomez 1.4 {
90 :     }
91 :     static __inline void
92 : edgomez 1.9 stop_interlacing_timer()
93 : edgomez 1.4 {
94 :     }
95 :     static __inline void
96 : edgomez 1.9 stop_prediction_timer()
97 : edgomez 1.4 {
98 :     }
99 :     static __inline void
100 : edgomez 1.9 stop_global_timer()
101 : edgomez 1.4 {
102 :     }
103 : Isibaar 1.1
104 : edgomez 1.9 #endif
105 : Isibaar 1.1
106 : edgomez 1.9 #endif /* _TIMER_H_ */

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4