Home | History | Annotate | Download | only in src

Lines Matching defs:diff

82 	long diff;
83 diff = USEC_PER_SEC * ((int) t1.tv_sec - (int) t2.tv_sec);
84 diff += ((int) t1.tv_nsec - (int) t2.tv_nsec) / 1000;
85 return diff;
142 long diff;
168 diff = calcdiff(after, before);
170 if (diff < stat->min)
171 stat->min = diff;
172 if (diff > stat->max)
173 stat->max = diff;
174 stat->avg += (double) diff;
176 if (!stopped && tracelimit && (diff > tracelimit)) {
184 stat->act = diff;
188 stat->values[stat->cycles & par->bufmsk] = diff;
306 long diff = stat->values[stat->cyclesread & par->bufmsk];
307 printf("%8d:%8lu:%8ld\n", index, stat->cyclesread, diff);