diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-10-03 15:12:06 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-10-03 15:12:06 -0400 |
commit | faa872d624096ca4e2ee91727a1a6d83263a80a7 (patch) | |
tree | 6201b22e8b2124dccd0a590bc7a8be25da5c85c2 /pts/test-resources/encode-flac | |
parent | 24d2198e40bf2f2543e4b7136d2a27cfdf77f14b (diff) | |
download | phoronix-test-suite-upstream-faa872d624096ca4e2ee91727a1a6d83263a80a7.tar.gz phoronix-test-suite-upstream-faa872d624096ca4e2ee91727a1a6d83263a80a7.tar.xz phoronix-test-suite-upstream-faa872d624096ca4e2ee91727a1a6d83263a80a7.zip |
pts: Move over all relevent tests to using the new universal micro-timer
functionality
Diffstat (limited to 'pts/test-resources/encode-flac')
-rwxr-xr-x | pts/test-resources/encode-flac/install.sh | 4 | ||||
-rw-r--r-- | pts/test-resources/encode-flac/parse-results.php | 5 |
2 files changed, 3 insertions, 6 deletions
diff --git a/pts/test-resources/encode-flac/install.sh b/pts/test-resources/encode-flac/install.sh index 3c04634..5ea69c8 100755 --- a/pts/test-resources/encode-flac/install.sh +++ b/pts/test-resources/encode-flac/install.sh @@ -12,5 +12,7 @@ cd .. rm -rf flac-1.2.1/ echo "#!/bin/sh -/usr/bin/time -f \"WAV To FLAC Encode Time: %e Seconds\" ./flac_/bin/flac -s --best --totally-silent \$TEST_EXTENDS/pts-trondheim.wav -f -o /dev/null 2>&1" > flac +\$TIMER_START +./flac_/bin/flac -s --best --totally-silent \$TEST_EXTENDS/pts-trondheim.wav -f -o /dev/null 2>&1 +\$TIMER_STOP" > flac chmod +x flac diff --git a/pts/test-resources/encode-flac/parse-results.php b/pts/test-resources/encode-flac/parse-results.php deleted file mode 100644 index 81eef11..0000000 --- a/pts/test-resources/encode-flac/parse-results.php +++ /dev/null @@ -1,5 +0,0 @@ -<?php - -$BENCHMARK_RESULTS = substr($argv[1], strrpos($argv[1], "WAV To FLAC Encode Time:") + 24); -echo trim(substr($BENCHMARK_RESULTS, 0, strpos($BENCHMARK_RESULTS, "Seconds"))); -?> |