mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-26 16:30:56 +00:00
Make ThreadStatus::InterpretOperationProperties take const uint64_t*
Summary: Make ThreadStatus::InterpretOperationProperties take const uint64_t* Test Plan: make make OPT=-DROCKSDB_LITE shared_lib Reviewers: igor Reviewed By: igor Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D38445
This commit is contained in:
parent
bc68bd5a13
commit
714fcc067d
|
@ -177,7 +177,7 @@ struct ThreadStatus {
|
|||
// a property value.
|
||||
static std::map<std::string, uint64_t>
|
||||
InterpretOperationProperties(
|
||||
OperationType op_type, uint64_t* op_properties);
|
||||
OperationType op_type, const uint64_t* op_properties);
|
||||
|
||||
// Obtain the name of a state given its type.
|
||||
static const std::string& GetStateName(StateType state_type);
|
||||
|
|
|
@ -67,7 +67,8 @@ const std::string& ThreadStatus::GetOperationPropertyName(
|
|||
|
||||
std::map<std::string, uint64_t>
|
||||
ThreadStatus::InterpretOperationProperties(
|
||||
ThreadStatus::OperationType op_type, uint64_t* op_properties) {
|
||||
ThreadStatus::OperationType op_type,
|
||||
const uint64_t* op_properties) {
|
||||
int num_properties;
|
||||
switch (op_type) {
|
||||
case OP_COMPACTION:
|
||||
|
@ -145,7 +146,8 @@ const std::string& ThreadStatus::GetOperationPropertyName(
|
|||
|
||||
std::map<std::string, uint64_t>
|
||||
ThreadStatus::InterpretOperationProperties(
|
||||
ThreadStatus::OperationType op_type, uint64_t* op_properties) {
|
||||
ThreadStatus::OperationType op_type,
|
||||
const uint64_t* op_properties) {
|
||||
return std::map<std::string, uint64_t>();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue