summaryrefslogtreecommitdiffstats
path: root/pts/test-resources/ppracer/parse-results.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-08-29 18:42:08 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-08-29 18:42:08 -0400
commit2dc2b9e65e4c9e4872642bb4224764b5ad1c9272 (patch)
tree7a1812bb60f8e801f6a44f995df21527f6328265 /pts/test-resources/ppracer/parse-results.php
parent245ca4c5a1fb4c84fbe4ff6b4ec8ac6d2b4ff2db (diff)
downloadphoronix-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.php5
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")));
+?>