mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-28 07:01:07 +00:00
Identify what the columns mean in the output of "show profile"
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41118 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -469,6 +469,8 @@ static int handle_show_profile(int fd, int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
ast_cli(fd, "profile values (%d, allocated %d)\n-------------------\n",
|
ast_cli(fd, "profile values (%d, allocated %d)\n-------------------\n",
|
||||||
prof_data->entries, prof_data->max_size);
|
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++) {
|
for (i = min; i < max; i++) {
|
||||||
struct profile_entry *e = &prof_data->e[i];
|
struct profile_entry *e = &prof_data->e[i];
|
||||||
if (!search || strstr(prof_data->e[i].name, search))
|
if (!search || strstr(prof_data->e[i].name, search))
|
||||||
|
|||||||
Reference in New Issue
Block a user