Compile with changes of papihighlevel

* commit 0ab6aa7576ac5ccdd9d0f99630016a2be87993b3 changed the API of
  print_result
This commit is contained in:
Thomas Preud'homme 2009-06-18 18:31:15 +02:00 committed by Thomas Preud'homme
parent 274f3cfd1b
commit 8f352457a0
1 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,8 @@ public class Main
return;
}
bubbleSort();
if (PapiHighLevel.print_results() != 0)
/* Only the 6 store in the if of the bubbleSort call the write barrier */
if (PapiHighLevel.print_results(6, NB_ELEM) != 0)
{
System.err.println("Error while getting results");
java.lang.System.exit(2);