Lines Matching defs:sum
120 " @rw_w_hold[arg0, ustack(5)] = sum(timestamp - self->rwhold[arg0]);\n"
128 " @rw_r_hold[arg0, ustack(5)] = sum(timestamp - self->rwhold[arg0]);\n"
136 " @mtx_hold[arg0, ustack(5)] = sum(timestamp - mtxhold[arg0]);\n"
270 " sum(timestamp - self->rwblock[arg0]);\n"
279 " sum(timestamp - self->rwblock[arg0]);\n"
293 " sum(timestamp - self->mtxspin[arg0]);\n"
302 " sum(timestamp - self->mtxspin[arg0]);\n"
311 " sum(timestamp - self->mtxblock[arg0]);\n"
549 uint64_t sum, count, avg;
564 sum = *(uint64_t *)(aggsdata[1]->dtada_data +
579 for (count = sum = 0, i = DTRACE_QUANTIZE_ZEROBUCKET, j = 0;
582 sum += a[i] << (j - 64);
586 avg = sum / count;