From 3967badc5592d1747b282332714ce42dae3dde86 Mon Sep 17 00:00:00 2001 From: SChernykh Date: Sat, 19 Jun 2021 16:19:16 +0200 Subject: [PATCH] Added profiling --- src/base/tools/cryptonote/Signatures.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/base/tools/cryptonote/Signatures.cpp b/src/base/tools/cryptonote/Signatures.cpp index d9a71b923..d025ca571 100644 --- a/src/base/tools/cryptonote/Signatures.cpp +++ b/src/base/tools/cryptonote/Signatures.cpp @@ -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;