Lines Matching refs:cpu_num
749 static void svg_cpu_bar(FILE *of, struct list_sample_data *head, int n_cpus, int cpu_num, double graph_start) {
753 if (cpu_num < 0)
756 fprintf(of, "<text class=\"t2\" x=\"5\" y=\"-15\">CPU[%d] utilization</text>\n", cpu_num);
770 if (cpu_num < 0)
774 trt = sampledata->runtime[cpu_num] - prev_sampledata->runtime[cpu_num];
778 if (cpu_num < 0)
798 static void svg_wait_bar(FILE *of, struct list_sample_data *head, int n_cpus, int cpu_num, double graph_start) {
802 if (cpu_num < 0)
805 fprintf(of, "<text class=\"t2\" x=\"5\" y=\"-15\">CPU[%d] wait</text>\n", cpu_num);
819 if (cpu_num < 0)
823 twt = sampledata->waittime[cpu_num] - prev_sampledata->waittime[cpu_num];
827 if (cpu_num < 0)