aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.cpp
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-12 18:06:22 +0100
commitbc4d53bececb50e2ff3ffce392b8938d09f8045e (patch)
treef22c065b95c5ed23f765be8f0fff6be097560144 /src/rpc/core_rpc_server.cpp
parentMerge pull request #3619 (diff)
downloadmonero-bc4d53bececb50e2ff3ffce392b8938d09f8045e.tar.xz
rpc: add missing perf timer for get_output_distribution
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-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 79792e387..76db0153b 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -2082,6 +2082,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)