Index: drc_query.c =================================================================== --- drc_query.c (revision 30411) +++ drc_query.c (revision 30412) @@ -160,6 +160,7 @@ st->last_run_time = te - ts; st->sum_run_time += te - ts; + st->run_cnt++; return 0; } Index: drc_query_stat.c =================================================================== --- drc_query_stat.c (revision 30411) +++ drc_query_stat.c (revision 30412) @@ -2,6 +2,7 @@ const char *name; double last_run_time; double sum_run_time; + long run_cnt; } pcb_drcq_stat_t; static htsp_t pcb_drcq_stat;