Commit 8456e222 authored by Christoph Reichenbach's avatar Christoph Reichenbach
Browse files

Print XWARN message to stdout instead of stderr

parent 6d3c3a18
......@@ -72,7 +72,7 @@ interface MethodSelectionStrategy {
final String method_name = this.trace_iterator.next();
final Integer method_index = table.findMethod(method_name);
if (method_index == null) {
System.err.println("[XWARN:UMETHOD] Encountered unknown method: '" + method_name + "'");
System.out.println("[XWARN:UMETHOD] Encountered unknown method: '" + method_name + "'");
return SKIP;
}
......
......@@ -157,9 +157,9 @@ open class PapiRunner(numRuns : Int, counters: CounterSpecification) {
evset.start()
app.runBenchmark()
evset.stop()
System.err.println("missed trace methods count = " + app.getMissedMethods())
System.out.println("missed trace methods count = " + app.getMissedMethods())
if (app.getMissedMethods() > 0) {
System.err.println("[XWARN:SIMMISS]: missed " + Integer.toString(app.getMissedMethods()) + " out of " + Integer.toString(app.getTrace().size) + " trace methods")
System.out.println("[XWARN:SIMMISS]: missed " + Integer.toString(app.getMissedMethods()) + " out of " + Integer.toString(app.getTrace().size) + " trace methods")
}
val resultDataStructure = app.getDatastructure()
......
Supports Markdown
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