Lines Matching full:cycles
155 uint64_t *cycles, const char *tag, const char *str) in compute_and_report_stats() argument
157 uint64_t minimum = cycles[0]; in compute_and_report_stats()
158 uint64_t maximum = cycles[0]; in compute_and_report_stats()
159 uint64_t total = cycles[0]; in compute_and_report_stats()
167 if (cycles[i] > maximum) { in compute_and_report_stats()
168 maximum = cycles[i]; in compute_and_report_stats()
171 if (cycles[i] < minimum) { in compute_and_report_stats()
172 minimum = cycles[i]; in compute_and_report_stats()
175 total += cycles[i]; in compute_and_report_stats()
183 tmp = cycles[i] / num_iterations; in compute_and_report_stats()
200 printk("REC: %s%-*s - %s%-*s : %7llu cycles , %7u ns :\n", tag, stag_len, ".min", str, in compute_and_report_stats()
202 printk("REC: %s%-*s - %s%-*s : %7llu cycles , %7u ns :\n", tag, stag_len, ".max", str, in compute_and_report_stats()
204 printk("REC: %s%-*s - %s%-*s : %7llu cycles , %7u ns :\n", tag, stag_len, ".avg", str, in compute_and_report_stats()
206 printk("REC: %s%-*s - %s%-*s : %7llu cycles , %7u ns :\n", tag, stag_len, ".stddev", str, in compute_and_report_stats()
214 printk(" Minimum : %7llu cycles (%7u nsec)\n", minimum, in compute_and_report_stats()
216 printk(" Maximum : %7llu cycles (%7u nsec)\n", maximum, in compute_and_report_stats()
218 printk(" Average : %7llu cycles (%7u nsec)\n", average, in compute_and_report_stats()
220 printk(" Std Deviation: %7llu cycles (%7u nsec)\n", std_dev, in compute_and_report_stats()