[asterisk-commits] russell: trunk r41118 - /trunk/main/asterisk.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Aug 25 11:05:29 MST 2006
Author: russell
Date: Fri Aug 25 13:05:28 2006
New Revision: 41118
URL: http://svn.digium.com/view/asterisk?rev=41118&view=rev
Log:
Identify what the columns mean in the output of "show profile"
Modified:
trunk/main/asterisk.c
Modified: trunk/main/asterisk.c
URL: http://svn.digium.com/view/asterisk/trunk/main/asterisk.c?rev=41118&r1=41117&r2=41118&view=diff
==============================================================================
--- trunk/main/asterisk.c (original)
+++ trunk/main/asterisk.c Fri Aug 25 13:05:28 2006
@@ -469,10 +469,12 @@
}
ast_cli(fd, "profile values (%d, allocated %d)\n-------------------\n",
prof_data->entries, prof_data->max_size);
+ ast_cli(fd, "%6s %8s %10s %12s %12s %s\n", "ID", "Scale", "Events",
+ "Value", "Average", "Name");
for (i = min; i < max; i++) {
struct profile_entry *e = &prof_data->e[i];
if (!search || strstr(prof_data->e[i].name, search))
- ast_cli(fd, "%6d: [%8ld] %10ld %12lld %12lld %s\n",
+ ast_cli(fd, "%6d: [%8ld] %10ld %12lld %12lld %s\n",
i,
(long)e->scale,
(long)e->events, (long long)e->value,
More information about the asterisk-commits
mailing list