mirror of
https://github.com/xmrig/xmrig.git
synced 2025-01-22 18:54:43 +00:00
Added profiling
This commit is contained in:
parent
3f3f9b0661
commit
3967badc55
1 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,7 @@ extern "C" {
|
|||
}
|
||||
|
||||
#include "base/tools/Cvt.h"
|
||||
#include "crypto/rx/Profiler.h"
|
||||
|
||||
|
||||
struct ec_scalar { char data[32]; };
|
||||
|
@ -80,6 +81,8 @@ namespace xmrig {
|
|||
|
||||
void generate_signature(const uint8_t* prefix_hash, const uint8_t* pub, const uint8_t* sec, uint8_t* sig_bytes)
|
||||
{
|
||||
PROFILE_SCOPE(GenerateSignature);
|
||||
|
||||
ge_p3 tmp3;
|
||||
ec_scalar k;
|
||||
s_comm buf;
|
||||
|
|
Loading…
Reference in a new issue