Restore Hashrate class interface.
This commit is contained in:
parent
bd82b3c852
commit
acf7ec8355
7 changed files with 90 additions and 103 deletions
|
@ -203,7 +203,7 @@ public:
|
|||
continue;
|
||||
}
|
||||
|
||||
for (size_t i = 1; i < hr->threads(); i++) {
|
||||
for (size_t i = 0; i < hr->threads(); i++) {
|
||||
Value thread(kArrayType);
|
||||
thread.PushBack(Hashrate::normalize(hr->calc(i, Hashrate::ShortInterval)), allocator);
|
||||
thread.PushBack(Hashrate::normalize(hr->calc(i, Hashrate::MediumInterval)), allocator);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue