projects
/
core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0999ee5
)
Also display iterations per second.
author
Roland Häder
<haeder@hmmdeutschland.de>
Mon, 28 Apr 2014 09:20:44 +0000
(11:20 +0200)
committer
Roland 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
patch
|
blob
|
history
diff --git
a/contrib/chash/chash.php
b/contrib/chash/chash.php
index 3ba7e162290e11879bf8d1f4101f50b15303f031..7401dfe6d6a95916ddd48856f79dfffd7710fd6f 100644
(file)
--- a/
contrib/chash/chash.php
+++ b/
contrib/chash/chash.php
@@
-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);