HomeSort by relevance Sort by last modified time
    Searched refs:gld (Results 1 - 9 of 9) sorted by null

  /external/blktrace/iowatcher/
fio.h 21 int add_fio_gld(unsigned int time, u64 bw, struct graph_line_data *gld);
mpstat.h 27 int add_mpstat_gld(int time, double sys, struct graph_line_data *gld);
fio.c 201 int add_fio_gld(unsigned int time, u64 bw, struct graph_line_data *gld)
205 if (time > gld->max_seconds)
208 gld->data[time].sum += bw;
209 gld->data[time].count++;
211 val = ((double)gld->data[time].sum) / gld->data[time].count;
213 if (val > gld->max)
214 gld->max = ceil(val);
plot.c 135 struct graph_line_data *gld; local
137 gld = calloc(1, size);
138 if (!gld) {
142 gld->min_seconds = min_seconds;
143 gld->max_seconds = max_seconds;
144 gld->stop_seconds = stop_seconds;
145 return gld;
762 static int rolling_span(struct graph_line_data *gld)
766 return (gld->stop_seconds - gld->min_seconds) / 25
    [all...]
blkparse.c 994 struct graph_line_data *gld; local
1005 gld = reads_gld;
1007 gld = writes_gld;
1010 gld->data[seconds].sum += io->bytes;
1012 gld->data[seconds].count = 1;
1013 if (gld->data[seconds].sum > gld->max)
1014 gld->max = gld->data[seconds].sum;
1088 void add_pending_io(struct trace *trace, struct graph_line_data *gld)
    [all...]
blkparse.h 127 void add_iop(struct trace *trace, struct graph_line_data *gld);
134 void add_pending_io(struct trace *trace, struct graph_line_data *gld);
plot.h 140 double line_graph_roll_avg_max(struct graph_line_data *gld);
141 int svg_line_graph(struct plot *plot, struct graph_line_data *gld, char *color, int thresh1, int thresh2);
mpstat.c 309 int add_mpstat_gld(int time, double sys, struct graph_line_data *gld)
311 gld->data[time].sum = sys;
312 gld->data[time].count = 1;
main.c 947 struct graph_line_data *gld = tf->mpstat_gld[i * MPSTAT_GRAPHS + gld_index]; local
950 for (gld_i = gld->min_seconds;
951 gld_i < gld->stop_seconds; gld_i++) {
952 if (gld->data[i].count) {
953 this_avg += gld->data[i].sum /
954 gld->data[i].count;
958 this_avg /= gld->stop_seconds - gld->min_seconds;
960 for (gld_i = gld->min_seconds;
961 gld_i < gld->stop_seconds; gld_i++)
    [all...]

Completed in 1457 milliseconds