rpc: add missing perf timer for get_output_distribution

This commit is contained in:
moneromooo-monero 2018-04-08 13:23:49 +01:00 committed by wowario
parent cf1bc8c98f
commit 29954e88f3
No known key found for this signature in database
GPG key ID: 24DCBE762DE9C111

View file

@ -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) 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 try
{ {
for (uint64_t amount: req.amounts) for (uint64_t amount: req.amounts)