MCPcopy Create free account
hub / github.com/apache/impala / UpdateInfoString

Method UpdateInfoString

be/src/util/runtime-profile.cc:1109–1113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1107}
1108
1109void RuntimeProfile::UpdateInfoString(const string& key, string value) {
1110 lock_guard<SpinLock> l(info_strings_lock_);
1111 InfoStrings::iterator it = info_strings_.find(key);
1112 if (it != info_strings_.end()) it->second = std::move(value);
1113}
1114
1115const string* RuntimeProfile::GetInfoString(const string& key) const {
1116 lock_guard<SpinLock> l(info_strings_lock_);

Callers 1

UpdateMethod · 0.80

Calls 3

moveFunction · 0.85
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected