Added profiling

This commit is contained in:
SChernykh
2021-06-19 16:19:45 +02:00
parent 9a25e91cab
commit 7c10812549

View File

@@ -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;