aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/blockchain_db.h
diff options
context:
space:
mode:
authorwarptangent <warptangent@inbox.com>2015-02-11 15:55:53 -0800
committerwarptangent <warptangent@inbox.com>2015-02-23 00:33:38 -0800
commit8529c0ea9aa305f097d4a2c89d581163e208e04f (patch)
tree84d39b41cac786d3f5b6ceb5128c2a412cd2e308 /src/cryptonote_core/blockchain_db.h
parentBlockchainDB: Add virtual function declarations for batch transactions (diff)
downloadmonero-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.h5
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