Update of /cvsroot/mod-c/ehtml/include
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv26208/include
Modified Files:
Profiling.h
Log Message:
* Fixed profiling 'self' counter.
Index: Profiling.h
===================================================================
RCS file: /cvsroot/mod-c/ehtml/include/Profiling.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Profiling.h 17 Sep 2006 18:14:51 -0000 1.7
--- Profiling.h 5 Oct 2006 15:28:36 -0000 1.8
***************
*** 69,75 ****
static ProfileFunction* call_stack[MAX_DEPTH];
public:
! ProfileRun(ProfileFunction* f): _started(get_tick()), _f(f) {
! call_stack[depth++] = f;
! }
~ProfileRun();
};
--- 69,73 ----
static ProfileFunction* call_stack[MAX_DEPTH];
public:
! ProfileRun(ProfileFunction* f);
~ProfileRun();
};
|