We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91b2ac6 commit 9173fd7Copy full SHA for 9173fd7
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -5323,9 +5323,8 @@ std::string ProcessGDBRemote::HarmonizeThreadIdsForProfileData(
5323
uint32_t prev_used_usec = 0;
5324
std::map<uint64_t, uint32_t>::iterator iterator =
5325
m_thread_id_to_used_usec_map.find(thread_id);
5326
- if (iterator != m_thread_id_to_used_usec_map.end()) {
5327
- prev_used_usec = m_thread_id_to_used_usec_map[thread_id];
5328
- }
+ if (iterator != m_thread_id_to_used_usec_map.end())
+ prev_used_usec = iterator->second;
5329
5330
uint32_t real_used_usec = curr_used_usec - prev_used_usec;
5331
// A good first time record is one that runs for at least 0.25 sec
0 commit comments