diff options
author | warptangent <warptangent@inbox.com> | 2015-02-11 15:55:53 -0800 |
---|---|---|
committer | warptangent <warptangent@inbox.com> | 2015-02-23 00:33:38 -0800 |
commit | 8529c0ea9aa305f097d4a2c89d581163e208e04f (patch) | |
tree | 84d39b41cac786d3f5b6ceb5128c2a412cd2e308 /src/cryptonote_core/blockchain_db.h | |
parent | BlockchainDB: Add virtual function declarations for batch transactions (diff) | |
download | monero-8529c0ea9aa305f097d4a2c89d581163e208e04f.tar.xz |
BlockchainDB, BlockchainLMDB: Add profiling for DB commits
Diffstat (limited to 'src/cryptonote_core/blockchain_db.h')
-rw-r--r-- | src/cryptonote_core/blockchain_db.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cryptonote_core/blockchain_db.h b/src/cryptonote_core/blockchain_db.h index 25e9781f8..ba0e5738b 100644 --- a/src/cryptonote_core/blockchain_db.h +++ b/src/cryptonote_core/blockchain_db.h @@ -308,6 +308,11 @@ private: uint64_t time_add_transaction = 0; +protected: + + uint64_t time_commit1 = 0; + + public: // virtual dtor |