diff options
Diffstat (limited to 'pts/test-resources/memory-bandwidth/parse-results.php')
-rw-r--r-- | pts/test-resources/memory-bandwidth/parse-results.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pts/test-resources/memory-bandwidth/parse-results.php b/pts/test-resources/memory-bandwidth/parse-results.php index a12beef..39af0a5 100644 --- a/pts/test-resources/memory-bandwidth/parse-results.php +++ b/pts/test-resources/memory-bandwidth/parse-results.php @@ -1,5 +1,7 @@ <?php -$arg = trim($argv[1]); + +$log_file = file_get_contents(getenv("LOG_FILE")); +$arg = trim($log_file); $arg = substr($arg, 0, strrpos($arg, ' ')); echo substr($arg, strrpos($arg, ' ')); |