mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-02-21 01:42:18 +00:00
suppress reporting stats for functions not called in most recent
reporting period.
This commit is contained in:
parent
c5d89a043d
commit
83d1846154
@ -373,7 +373,8 @@ int fd_showstats()
|
||||
fd_showstat(&total,&total,"TOTAL");
|
||||
INFOF("servald function time statistics:");
|
||||
for(i=0;i<func_count;i++)
|
||||
fd_showstat(&total,&called_funcs[i],called_func_names[i]);
|
||||
if (called_funcs[i].calls)
|
||||
fd_showstat(&total,&called_funcs[i],called_func_names[i]);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user