Searched refs:pph (Results 1 – 2 of 2) sorted by relevance
/external/blktrace/iowatcher/ |
D | plot.c | 880 int svg_io_graph_movie_array(struct plot *plot, struct pid_plot_history *pph) in svg_io_graph_movie_array() argument 887 for (i = 0; i < pph->num_used; i++) { in svg_io_graph_movie_array() 888 cell_index = pph->history[i]; in svg_io_graph_movie_array() 891 svg_add_io(plot->fd, movie_row, movie_col, 4, 4, pph->color); in svg_io_graph_movie_array() 903 int svg_io_graph_movie_array_spindle(struct plot *plot, struct pid_plot_history *pph) in svg_io_graph_movie_array_spindle() argument 943 cells_per_circle = pph->history_max / num_circles; in svg_io_graph_movie_array_spindle() 946 for (i = 0; i < pph->num_used; i++) { in svg_io_graph_movie_array_spindle() 947 cell_index = pph->history[i]; in svg_io_graph_movie_array_spindle() 960 radius, radius, pph->color); in svg_io_graph_movie_array_spindle() 967 static int add_plot_history(struct pid_plot_history *pph, double val) in add_plot_history() argument [all …]
|
D | main.c | 579 struct pid_plot_history *pph; in alloc_pid_plot_history() local 581 pph = calloc(1, sizeof(struct pid_plot_history)); in alloc_pid_plot_history() 582 if (!pph) { in alloc_pid_plot_history() 586 pph->history = malloc(sizeof(double) * 4096); in alloc_pid_plot_history() 587 if (!pph->history) { in alloc_pid_plot_history() 591 pph->history_len = 4096; in alloc_pid_plot_history() 592 pph->color = color; in alloc_pid_plot_history() 594 return pph; in alloc_pid_plot_history()
|