benchmarks/latmus: add clocksource info to report
This commit is contained in:
parent
a57a529e9c
commit
9aa9a84489
|
@ -722,6 +722,10 @@ static void dump_gnuplot(time_t duration)
|
||||||
fprintf(plot_fp, "# sampling period: %u microseconds\n", period_usecs);
|
fprintf(plot_fp, "# sampling period: %u microseconds\n", period_usecs);
|
||||||
paste_file_in("/sys/devices/virtual/clock/monotonic/gravity",
|
paste_file_in("/sys/devices/virtual/clock/monotonic/gravity",
|
||||||
"clock gravity: ");
|
"clock gravity: ");
|
||||||
|
paste_file_in("/sys/devices/system/clocksource/clocksource0/current_clocksource",
|
||||||
|
"clocksource: ");
|
||||||
|
paste_file_in("/sys/devices/system/clocksource/clocksource0/vdso_clocksource",
|
||||||
|
"vDSO access: ");
|
||||||
fprintf(plot_fp, "# context: %s\n", context_labels[context_type]);
|
fprintf(plot_fp, "# context: %s\n", context_labels[context_type]);
|
||||||
if (!test_irqlat) {
|
if (!test_irqlat) {
|
||||||
fprintf(plot_fp, "# thread priority: %d\n", responder_priority);
|
fprintf(plot_fp, "# thread priority: %d\n", responder_priority);
|
||||||
|
|
Loading…
Reference in New Issue