Update of /cvsroot/mod-c/ehtml/include
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv7708/include
Modified Files:
Profiling.h
Log Message:
* Added profile_stubs(), which return the number of profiled functions.
Index: Profiling.h
===================================================================
RCS file: /cvsroot/mod-c/ehtml/include/Profiling.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** Profiling.h 5 Oct 2006 15:28:36 -0000 1.8
--- Profiling.h 5 Oct 2006 16:01:16 -0000 1.9
***************
*** 45,48 ****
--- 45,49 ----
ProfileFunction *_next, *_prev;
static ProfileFunction *_head;
+ static unsigned long _cnt;
friend class ProfileRun;
***************
*** 55,58 ****
--- 56,61 ----
static ProfileFunction* Head() { return _head; }
ProfileFunction* Next() { return _next; }
+
+ static unsigned long cnt() { return _cnt; }
};
***************
*** 112,115 ****
--- 115,119 ----
*/
EXTERNC void profile_tick(void** cbdata, struct runspec* spec);
+ EXTERNC unsigned long profile_stubs();
#endif
|