Simply because it touches more code paths that way, and therefore tests
more things.
Signed-off-by: Michael Ellerman <[email protected]>
Acked-by: Anton Blanchard <[email protected]>
For ease of use make the context_switch test do something useful when
called with no arguments.
Default to a 30 second run, using threads, doing yield, and use any
online cpu. Make it print out what it's doing to avoid confusion.
Signed-off-by: Michael Ellerman <[email protected]>
Acked-by: Anton Blanchard <[email protected]>
This adds a benchmark directory to the powerpc selftests and adds a
gettimeofday() benchmark to it.
Suggested-by: Michael Ellerman <[email protected]>
Signed-off-by: Michael Neuling <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>