www.pudn.com > coremp4-1.0.zip > Profiling.h


#ifndef __PROFILING_H 
#define __PROFILING_H 
 
//#define PROFILE 
 
enum{ 
   PROF_BLIT, 
   PROF_DECODE, 
   PROF_I_VOP, 
   PROF_P_VOP, 
   PROF_B_VOP, 
   PROF_BLOCK_INTRA, 
   PROF_UPDATE_SCREEN, 
}; 
 
#ifdef PROFILE 
#include  
#define PROF_S(n) prof->MarkS(n); 
#define PROF_E(n) prof->MarkE(n); 
#else 
#define PROF_S(n) 
#define PROF_E(n) 
#endif 
 
#endif