Update of /cvsroot/mod-c/mod_c/src
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv27137/src
Modified Files:
mod_c.c
Log Message:
* Added 'self' column, removed 'overflows' and 'depth' columns.
Index: mod_c.c
===================================================================
RCS file: /cvsroot/mod-c/mod_c/src/mod_c.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** mod_c.c 13 Sep 2006 13:12:31 -0000 1.22
--- mod_c.c 13 Sep 2006 14:58:36 -0000 1.23
***************
*** 142,146 ****
static int EHTMLProfileHandler( request_rec *r )
{
-
void* cbdata = NULL;
struct runspec spec;
--- 142,145 ----
***************
*** 156,164 ****
ap_set_content_type(r, "text/plain");
! ap_rprintf(r, "%20s %20s %11s %11s function/file:line\n",
! "accum", "ncalls", "overflows", "depth");
while (profile_tick(&cbdata, &spec), cbdata != NULL) {
! ap_rprintf(r, "%20llu %20lld %11d %11d %s/%s:%d\n",
! spec.accum, spec.ncalls, spec.overflows, spec.depth,
spec.name, spec.file, spec.line);
}
--- 155,163 ----
ap_set_content_type(r, "text/plain");
! ap_rprintf(r, "%20s %20s %20s function/file:line\n",
! "accum", "self", "ncalls");
while (profile_tick(&cbdata, &spec), cbdata != NULL) {
! ap_rprintf(r, "%20llu %20llu %20lld %s/%s:%d\n",
! spec.accum, spec.self, spec.ncalls,
spec.name, spec.file, spec.line);
}
|