[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.3 - (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 : 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 :     static __inline void start_timer() {}
32 :     static __inline void start_global_timer() {}
33 :     static __inline void stop_dct_timer() {}
34 :     static __inline void stop_idct_timer() {}
35 :     static __inline void stop_motion_timer() {}
36 :     static __inline void stop_comp_timer() {}
37 :     static __inline void stop_edges_timer() {}
38 :     static __inline void stop_inter_timer() {}
39 :     static __inline void stop_quant_timer() {}
40 :     static __inline void stop_iquant_timer() {}
41 :     static __inline void stop_conv_timer() {}
42 :     static __inline void stop_transfer_timer() {}
43 :     static __inline void init_timer() {}
44 :     static __inline void write_timer() {}
45 :     static __inline void stop_coding_timer() {}
46 : h 1.2 static __inline void stop_interlacing_timer() {}
47 : Isibaar 1.1 static __inline void stop_prediction_timer() {}
48 :     static __inline void stop_global_timer() {}
49 :    
50 :     #endif
51 :    
52 : edgomez 1.3 #endif /* _TIMER_H_ */

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