diff options
| author | warptangent <warptangent@inbox.com> | 2015-02-10 20:01:02 -0800 |
|---|---|---|
| committer | warptangent <warptangent@inbox.com> | 2015-02-23 00:33:39 -0800 |
| commit | 6485dacc2fcaab7eb6db63c46716ffdfa0c568c4 (patch) | |
| tree | a64104230bd0d8ddfac59d119de7fd36dc4f48e6 /src/cryptonote_core/blockchain_db.cpp | |
| parent | 83fb6d8d07c0b473e7b53a35d8e69f586bd1945e (diff) | |
| download | monzero-core-6485dacc2fcaab7eb6db63c46716ffdfa0c568c4.tar.gz monzero-core-6485dacc2fcaab7eb6db63c46716ffdfa0c568c4.tar.xz monzero-core-6485dacc2fcaab7eb6db63c46716ffdfa0c568c4.zip | |
BlockchainLMDB: Add profiling to tx_exists()
Diffstat (limited to 'src/cryptonote_core/blockchain_db.cpp')
| -rw-r--r-- | src/cryptonote_core/blockchain_db.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cryptonote_core/blockchain_db.cpp b/src/cryptonote_core/blockchain_db.cpp index 74de19585..fc8aeef4e 100644 --- a/src/cryptonote_core/blockchain_db.cpp +++ b/src/cryptonote_core/blockchain_db.cpp @@ -149,6 +149,7 @@ void BlockchainDB::reset_stats() { num_calls = 0; time_blk_hash = 0; + time_tx_exists = 0; time_add_block1 = 0; time_add_transaction = 0; time_commit1 = 0; @@ -163,6 +164,8 @@ void BlockchainDB::show_stats() << ENDL << "time_blk_hash: " << time_blk_hash << "ms" << ENDL + << "time_tx_exists: " << time_tx_exists << "ms" + << ENDL << "time_add_block1: " << time_add_block1 << "ms" << ENDL << "time_add_transaction: " << time_add_transaction << "ms" |
