// total number of user key returned (only include keys that are found, does
// not include keys that are deleted or merged without a final put
- uint64_t user_key_return_count;
+ uint64_t user_key_return_count = 0;
// total nanos spent on reading data from SST files
- uint64_t get_from_table_nanos;
+ uint64_t get_from_table_nanos = 0;
uint64_t block_cache_hit_count = 0; // total number of block cache hits
uint64_t block_cache_miss_count = 0; // total number of block cache misses
uint64_t iter_prev_cpu_nanos;
uint64_t iter_seek_cpu_nanos;
+ // Time spent in encrypting data. Populated when EncryptedEnv is used.
+ uint64_t encrypt_data_nanos;
+ // Time spent in decrypting data. Populated when EncryptedEnv is used.
+ uint64_t decrypt_data_nanos;
+
std::map<uint32_t, PerfContextByLevel>* level_to_perf_context = nullptr;
bool per_level_perf_context_enabled = false;
};