mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-07 07:55:04 -05:00
Added hashrate to reports.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user