X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=microbench%2Fmixedbench.c;h=50dae27c45307f5bdb959ddfceae6eb0022ceb75;hb=6ad07955196b37a90cfe31dd3a4174842efca39b;hp=7996f1d34d1ce3baccf532fc1ddaca265077efc7;hpb=a75b2755847766509ade9acca0b043c3152eacff;p=bluesky.git diff --git a/microbench/mixedbench.c b/microbench/mixedbench.c index 7996f1d..50dae27 100644 --- a/microbench/mixedbench.c +++ b/microbench/mixedbench.c @@ -196,6 +196,7 @@ void reset_stats(int print, double duration) write_time2 += threads[i].write_time2; threads[i].read_count = threads[i].write_count = 0; threads[i].read_time = threads[i].write_time = 0; + threads[i].read_time2 = threads[i].write_time2 = 0; pthread_mutex_unlock(&threads[i].lock); }