Added hashrate to reports.
This commit is contained in:
parent
30dd7d6fe4
commit
1651b041de
7 changed files with 99 additions and 7 deletions
|
@ -24,6 +24,7 @@
|
|||
#include <cmath>
|
||||
|
||||
|
||||
#include "api/Api.h"
|
||||
#include "interfaces/IJobResultListener.h"
|
||||
#include "Mem.h"
|
||||
#include "Options.h"
|
||||
|
@ -192,4 +193,6 @@ void Workers::onTick(uv_timer_t *handle)
|
|||
if ((m_ticks++ & 0xF) == 0) {
|
||||
m_hashrate->updateHighest();
|
||||
}
|
||||
|
||||
Api::tick(m_hashrate);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue