Home
last modified time | relevance | path

Searched refs:q2dp (Results 1 – 2 of 2) sorted by relevance

/external/blktrace/btt/
Dq2d.c36 struct q2d_info *q2dp = priv; in q2d_histo_add() local
53 q2dp->histos[index]++; in q2d_histo_add()
54 q2dp->nhistos++; in q2d_histo_add()
59 struct q2d_info *q2dp = malloc(sizeof(*q2dp)); in q2d_alloc() local
61 return memset(q2dp, 0, sizeof(*q2dp)); in q2d_alloc()
95 struct q2d_info *q2dp = priv; in q2d_display() local
96 double nh = (double)q2dp->nhistos; in q2d_display()
99 double p = 100.0 * (double)q2dp->histos[i] / nh; in q2d_display()
107 struct q2d_info *q2dp = priv; in q2d_ok() local
109 return q2dp && q2dp->nhistos > 0; in q2d_ok()
Doutput.c126 struct __q2d *q2dp = arg; in __output_q2d_histo() local
130 FILE *ofp = q2dp->ofp; in __output_q2d_histo()
132 fprintf(q2dp->ofp, "%10s | ", in __output_q2d_histo()
135 q2d_acc(q2dp->q2d_all, dip->q2d_priv); in __output_q2d_histo()
136 q2dp->n++; in __output_q2d_histo()