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 3ba7e162290e11879bf8d1f4101f50b15303f031..7401dfe6d6a95916ddd48856f79dfffd7710fd6f 100644 (file)
@@ -285,7 +285,7 @@ while (TRUE) {
                        // Only every second
                        if ($testTime >= 1) {
                                // Display hash rate
                        // 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);
 
                                // Reset timer
                                $timeDisplay = microtime(TRUE);