00001 /* 00002 00003 C++ Profiler v1.00 00004 00005 SRC = \src\system\profiler.cpp 00006 00007 */ 00008 00009 class Profiler { 00010 _PROTECTED_: 00011 uint32 start; 00012 public: 00013 uint32 Counter; 00014 void Clear(); //clear this one 00015 static void Clear(Profiler *list, uint32 Count); //clear a list 00016 void Start(Profiler *Prev = (Profiler*)NULL); 00017 void Stop(Profiler *Next = (Profiler*)NULL); 00018 static void Message(Profiler *list, uint32 Count); 00019 Profiler() { 00020 Counter = 0; 00021 start = 0; 00022 } 00023 }; 00024