Commit bc5c0a0d authored by Michael Ellerman's avatar Michael Ellerman

selftests/powerpc: Use "Delta" rather than "Error" in normal output

Use "Delta" to refer to the difference between measurements, rather than
"Error", so scripts that look for "Error" aren't confused into thinking
there was a failure.
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 656ad58e
...@@ -51,7 +51,7 @@ static int do_count_loop(struct event *event, uint64_t instructions, ...@@ -51,7 +51,7 @@ static int do_count_loop(struct event *event, uint64_t instructions,
printf("Looped for %lu instructions, overhead %lu\n", instructions, overhead); printf("Looped for %lu instructions, overhead %lu\n", instructions, overhead);
printf("Expected %lu\n", expected); printf("Expected %lu\n", expected);
printf("Actual %llu\n", event->result.value); printf("Actual %llu\n", event->result.value);
printf("Error %ld, %f%%\n", difference, percentage); printf("Delta %ld, %f%%\n", difference, percentage);
printf("Took %d EBBs\n", ebb_state.stats.ebb_count); printf("Took %d EBBs\n", ebb_state.stats.ebb_count);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment