diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-29 18:42:08 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-29 18:42:08 -0400 |
commit | 2dc2b9e65e4c9e4872642bb4224764b5ad1c9272 (patch) | |
tree | 7a1812bb60f8e801f6a44f995df21527f6328265 /pts/test-resources/ppracer/parse-results.php | |
parent | 245ca4c5a1fb4c84fbe4ff6b4ec8ac6d2b4ff2db (diff) | |
download | phoronix-test-suite-upstream-2dc2b9e65e4c9e4872642bb4224764b5ad1c9272.tar.gz phoronix-test-suite-upstream-2dc2b9e65e4c9e4872642bb4224764b5ad1c9272.tar.xz phoronix-test-suite-upstream-2dc2b9e65e4c9e4872642bb4224764b5ad1c9272.zip |
pts: Add ppracer test profile for Planet Penguin Racer
Diffstat (limited to 'pts/test-resources/ppracer/parse-results.php')
-rw-r--r-- | pts/test-resources/ppracer/parse-results.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pts/test-resources/ppracer/parse-results.php b/pts/test-resources/ppracer/parse-results.php new file mode 100644 index 0000000..00241a7 --- /dev/null +++ b/pts/test-resources/ppracer/parse-results.php @@ -0,0 +1,5 @@ +<?php + +$BENCHMARK_RESULTS = substr($argv[1], strrpos($argv[1], "Average FPS:") + 13); +echo trim(substr($BENCHMARK_RESULTS, 0, strpos($BENCHMARK_RESULTS, "\n"))); +?> |