mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Fix assert.
This commit is contained in:
parent
c222327edb
commit
55a966f9c6
@ -4253,7 +4253,7 @@ void SourceView::CountHwStats( AddrStatData& as, Worker& worker, const View& vie
|
||||
branch = sqrt( hw->branchMiss.size() * hw->branchRetired.size() );
|
||||
cache = sqrt( hw->cacheMiss.size() * hw->cacheRef.size() );
|
||||
}
|
||||
assert( as.ipCountAsm.find( addr ) == as.ipCountAsm.end() );
|
||||
assert( as.hwCountAsm.find( addr ) == as.hwCountAsm.end() );
|
||||
as.hwCountAsm.emplace( addr, AddrStat { branch, cache } );
|
||||
if( as.hwMaxAsm.local < branch ) as.hwMaxAsm.local = branch;
|
||||
if( as.hwMaxAsm.ext < cache ) as.hwMaxAsm.ext = cache;
|
||||
|
Loading…
Reference in New Issue
Block a user