mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
Merge 945ff0358c
into ad7a373529
This commit is contained in:
commit
39378da895
@ -1842,7 +1842,6 @@ static int64_t nTimeDashSpecific = 0;
|
|||||||
static int64_t nTimeConnect = 0;
|
static int64_t nTimeConnect = 0;
|
||||||
static int64_t nTimeIndexConnect = 0;
|
static int64_t nTimeIndexConnect = 0;
|
||||||
static int64_t nTimeIndexWrite = 0;
|
static int64_t nTimeIndexWrite = 0;
|
||||||
static int64_t nTimeCallbacks = 0;
|
|
||||||
static int64_t nTimeTotal = 0;
|
static int64_t nTimeTotal = 0;
|
||||||
static int64_t nBlocksTotal = 0;
|
static int64_t nBlocksTotal = 0;
|
||||||
|
|
||||||
@ -2296,9 +2295,6 @@ bool CChainState::ConnectBlock(const CBlock& block, BlockValidationState& state,
|
|||||||
uiInterface.NotifyMasternodeListChanged(mnlu.new_list, pindex);
|
uiInterface.NotifyMasternodeListChanged(mnlu.new_list, pindex);
|
||||||
}
|
}
|
||||||
|
|
||||||
int64_t nTime8 = GetTimeMicros(); nTimeCallbacks += nTime8 - nTime5;
|
|
||||||
LogPrint(BCLog::BENCHMARK, " - Callbacks: %.2fms [%.2fs (%.2fms/blk)]\n", MILLI * (nTime8 - nTime5), nTimeCallbacks * MICRO, nTimeCallbacks * MILLI / nBlocksTotal);
|
|
||||||
|
|
||||||
::g_stats_client->timing("ConnectBlock_ms", (nTime8 - nTimeStart) / 1000, 1.0f);
|
::g_stats_client->timing("ConnectBlock_ms", (nTime8 - nTimeStart) / 1000, 1.0f);
|
||||||
::g_stats_client->gauge("blocks.tip.SizeBytes", ::GetSerializeSize(block, PROTOCOL_VERSION), 1.0f);
|
::g_stats_client->gauge("blocks.tip.SizeBytes", ::GetSerializeSize(block, PROTOCOL_VERSION), 1.0f);
|
||||||
::g_stats_client->gauge("blocks.tip.Height", m_chain.Height(), 1.0f);
|
::g_stats_client->gauge("blocks.tip.Height", m_chain.Height(), 1.0f);
|
||||||
|
Loading…
Reference in New Issue
Block a user