Also display iterations per second.
authorRoland Häder <haeder@hmmdeutschland.de>
Mon, 28 Apr 2014 09:20:44 +0000 (11:20 +0200)
committerRoland Häder <haeder@hmmdeutschland.de>
Mon, 28 Apr 2014 09:20:44 +0000 (11:20 +0200)
Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
contrib/chash/chash.php

index 3ba7e16..7401dfe 100644 (file)
@@ -285,7 +285,7 @@ while (TRUE) {
                        // Only every second
                        if ($testTime >= 1) {
                                // Display hash rate
-                               print ('hashrate=' . $hashrate . ' hashes/sec.' . PHP_EOL);
+                               print ('hashrate=' . $hashrate . ' hashes/sec,iterSecond=' . $iterSecond . ' iterations/sec' . PHP_EOL);
 
                                // Reset timer
                                $timeDisplay = microtime(TRUE);