diff options
author | Guy Harris <guy@alum.mit.edu> | 2009-06-05 19:12:30 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2009-06-05 19:12:30 +0000 |
commit | f84499059642f102c7272e72f74d7a986f51b520 (patch) | |
tree | 33c559c45929d42c43747b6756326b45cb8c1a57 /gtk | |
parent | 94af3f079e2875a0d93f5effc8c3af130f92711e (diff) |
And again.
svn path=/trunk/; revision=28644
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/service_response_time_table.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gtk/service_response_time_table.c b/gtk/service_response_time_table.c index ad1f93108f..f03bb5b1fd 100644 --- a/gtk/service_response_time_table.c +++ b/gtk/service_response_time_table.c @@ -331,13 +331,7 @@ init_srt_table(srt_stat_table *rst, int num_procs, GtkWidget *vbox, const char * rst->num_procs=num_procs; rst->procedures=g_malloc(sizeof(srt_procedure_t)*num_procs); for(i=0;i<num_procs;i++){ - rst->procedures[i].stats.num=0; - rst->procedures[i].stats.min.secs=0; - rst->procedures[i].stats.min.nsecs=0; - rst->procedures[i].stats.max.secs=0; - rst->procedures[i].stats.max.nsecs=0; - rst->procedures[i].stats.tot.secs=0; - rst->procedures[i].stats.tot.nsecs=0; + time_stat_init(&rst->procedures[i].stats); for(j=0;j<6;j++){ rst->procedures[i].entries[j]=NULL; } |