[icinga-checkins] icinga.org: icinga-core/hpatel/core: cgi profile event adjustments

git at icinga.org git at icinga.org
Sat May 22 10:46:28 CEST 2010


Module: icinga-core
Branch: hpatel/core
Commit: 31481f005a2bc34f68d2e721503e2aa5895939fa
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=31481f005a2bc34f68d2e721503e2aa5895939fa

Author: hirenp <hirenp at firebird.(none)>
Date:   Sat May 22 10:41:38 2010 +0200

cgi profile event adjustments

---

 cgi/extinfo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cgi/extinfo.c b/cgi/extinfo.c
index 95df29a..86528be 100644
--- a/cgi/extinfo.c
+++ b/cgi/extinfo.c
@@ -2511,7 +2511,7 @@ void show_performance_data(void){
     			t=profile_object_find_by_name("EVENT_LOOP_COMPLETION");
     			total_time = t->elapsed;
 
-       			printf("<tr><td class='dataVar'>%s </td><td class='dataVal'>%f</td><td class='dataVal'>%d</td><td class='dataVal'>%f</td><td class='dataVal'>%f</td></tr>",name,elapsed,count,safe_divide(elapsed,count,0),safe_divide(total_time,count,1));
+       			printf("<tr><td class='dataVar'>%s </td><td class='dataVal'>%.2f</td><td class='dataVal'>%d</td><td class='dataVal'>%.3f</td><td class='dataVal'>%.3f</td></tr>",name,elapsed,count,safe_divide(elapsed,count,0),safe_divide(total_time,count,1));
        			p = p->next;
 		}
 





More information about the icinga-checkins mailing list