1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-07 16:05:05 -05:00

Added profiling

This commit is contained in:
SChernykh
2021-06-19 16:19:16 +02:00
parent 3f3f9b0661
commit 3967badc55

View File

@@ -29,6 +29,7 @@ extern "C" {
} }
#include "base/tools/Cvt.h" #include "base/tools/Cvt.h"
#include "crypto/rx/Profiler.h"
struct ec_scalar { char data[32]; }; 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) 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; ge_p3 tmp3;
ec_scalar k; ec_scalar k;
s_comm buf; s_comm buf;