Lines Matching refs:rate
70 double rate[256*4]; member
132 static void format_rate(FILE *fp, double rate) in format_rate() argument
136 if (rate > 1024*1024) { in format_rate()
137 sprintf(temp, "%uM", (unsigned)rint(rate/(1024*1024))); in format_rate()
139 } else if (rate > 1024) { in format_rate()
140 sprintf(temp, "%uK", (unsigned)rint(rate/1024)); in format_rate()
143 fprintf(fp, " %-10u", (unsigned)rate); in format_rate()
185 double *rate; in dump_abs_db() local
191 rate = &kern_db->rate[realm*4]; in dump_abs_db()
194 !val[0] && !rate[0] && in dump_abs_db()
195 !val[1] && !rate[1] && in dump_abs_db()
196 !val[2] && !rate[2] && in dump_abs_db()
197 !val[3] && !rate[3]) in dump_abs_db()
212 format_rate(fp, rate[i]); in dump_abs_db()
247 double *rate; in dump_incr_db() local
254 rate = &kern_db->rate[realm*4]; in dump_incr_db()
275 !rval[0] && !rate[0] && in dump_incr_db()
276 !rval[1] && !rate[1] && in dump_incr_db()
277 !rval[2] && !rate[2] && in dump_incr_db()
278 !rval[3] && !rate[3]) in dump_incr_db()
287 format_rate(fp, rate[i]); in dump_incr_db()
314 kern_db->val[i] == 0 && kern_db->rate[i] == 0) in update_db()
321 kern_db->rate[i] += W*(sample-kern_db->rate[i]); in update_db()
324 kern_db->rate[i] = sample; in update_db()
327 kern_db->rate[i] += w*(sample-kern_db->rate[i]); in update_db()
356 memset(dat->rate, 0, sizeof(dat->rate)); in pad_kern_table()