| 1113 | } |
| 1114 | |
| 1115 | const string* RuntimeProfile::GetInfoString(const string& key) const { |
| 1116 | lock_guard<SpinLock> l(info_strings_lock_); |
| 1117 | InfoStrings::const_iterator it = info_strings_.find(key); |
| 1118 | if (it == info_strings_.end()) return NULL; |
| 1119 | return &it->second; |
| 1120 | } |
| 1121 | |
| 1122 | void RuntimeProfile::AddCodegenMsg( |
| 1123 | bool codegen_enabled, const string& extra_info, const string& extra_label) { |