00001 #ifndef __TIMING__ 00002 #define __TIMING__ 00003 00004 00005 // use startTiming("foo") and endTiming("foo") to measure the execution time of a portion of code 00006 // edit timing.cpp de unactivate the code 00007 00008 void startTiming (const char* msg); 00009 00010 void endTiming (const char* msg); 00011 00012 #endif 00013 00014