MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / SAddressHitCount

Class SAddressHitCount

Source/Core/Dynamo.cpp:279–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277#ifdef DAEDALUS_DEBUG_DYNAREC
278
279struct SAddressHitCount
280{
281 u32 Address {};
282 u32 HitCount {};
283
284 SAddressHitCount( u32 address, u32 hitcount ) : Address( address ), HitCount( hitcount ) {}
285
286 u32 GetAbortReason() const
287 {
288 std::map<u32, u32>::const_iterator it( gAbortedTraceReasons.find( Address ) );
289 if( it != gAbortedTraceReasons.end() )
290 {
291 return it->second;
292 }
293
294 return 0;
295 }
296};
297
298bool SortByHitCount( const SAddressHitCount & a, const SAddressHitCount & b )
299{

Callers 1

CPU_DumpFragmentCacheFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected