aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-04-08 13:23:49 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-04-19 16:06:20 +0100
commit8c7363fbeffa3dcbbe16b98fb96f7b3d29cd1b9c (patch)
tree44a0760f5d639e77345a52fb6410e10473f154f4 /src/rpc
parentMerge pull request #3511 (diff)
downloadmonero-8c7363fbeffa3dcbbe16b98fb96f7b3d29cd1b9c.tar.xz
rpc: add missing perf timer for get_output_distribution
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/core_rpc_server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index 69e527fd8..93e3114d7 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -2078,6 +2078,7 @@ namespace cryptonote
//------------------------------------------------------------------------------------------------------------------------------
bool core_rpc_server::on_get_output_distribution(const COMMAND_RPC_GET_OUTPUT_DISTRIBUTION::request& req, COMMAND_RPC_GET_OUTPUT_DISTRIBUTION::response& res, epee::json_rpc::error& error_resp)
{
+ PERF_TIMER(on_get_output_distribution);
try
{
for (uint64_t amount: req.amounts)