diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-06-27 18:22:49 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-06-27 18:22:49 -0400 |
commit | b2cecea8509fdc015aee826895cdac0b888802ef (patch) | |
tree | 9c0ac4af16eb98f4af8538e0eede952163f2d9d3 /pts/test-resources/urbanterror/parse-results.php | |
parent | bc0c2c13ddd575a0202b3444a7753cb0c729c1f5 (diff) | |
download | phoronix-test-suite-upstream-b2cecea8509fdc015aee826895cdac0b888802ef.tar.gz phoronix-test-suite-upstream-b2cecea8509fdc015aee826895cdac0b888802ef.tar.xz phoronix-test-suite-upstream-b2cecea8509fdc015aee826895cdac0b888802ef.zip |
Add urbanterror test profile for Urban Terror FPS game
Diffstat (limited to 'pts/test-resources/urbanterror/parse-results.php')
-rwxr-xr-x | pts/test-resources/urbanterror/parse-results.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pts/test-resources/urbanterror/parse-results.php b/pts/test-resources/urbanterror/parse-results.php new file mode 100755 index 0000000..f75e04d --- /dev/null +++ b/pts/test-resources/urbanterror/parse-results.php @@ -0,0 +1,6 @@ +<?php + +$BENCHMARK_RESULTS = trim(substr($argv[1], 0, strrpos($argv[1], " fps"))); +$BENCHMARK_RESULTS = trim(substr($BENCHMARK_RESULTS, strrpos($BENCHMARK_RESULTS, ' '))); +echo $BENCHMARK_RESULTS; +?> |