mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 06:39:46 -06:00
JitCommon: Restructure the profiler calls.
This commit is contained in:
@ -49,7 +49,6 @@ struct JitBlock
|
||||
// The number of PPC instructions represented by this block. Mostly
|
||||
// useful for logging.
|
||||
u32 originalSize;
|
||||
int runCount; // for profiling.
|
||||
|
||||
// Information about exits to a known address from this block.
|
||||
// This is used to implement block linking.
|
||||
@ -65,11 +64,15 @@ struct JitBlock
|
||||
// This set stores all physical addresses of all occupied instructions.
|
||||
std::set<u32> physical_addresses;
|
||||
|
||||
// we don't really need to save start and stop
|
||||
// TODO (mb2): ticStart and ticStop -> "local var" mean "in block" ... low priority ;)
|
||||
u64 ticStart; // for profiling - time.
|
||||
u64 ticStop; // for profiling - time.
|
||||
u64 ticCounter; // for profiling - time.
|
||||
// Block profiling data, structure is inlined in Jit.cpp
|
||||
struct ProfileData
|
||||
{
|
||||
u64 ticCounter;
|
||||
u64 downcountCounter;
|
||||
u64 runCount;
|
||||
u64 ticStart;
|
||||
u64 ticStop;
|
||||
} profile_data = {};
|
||||
|
||||
// This tracks the position if this block within the fast block cache.
|
||||
// We allow each block to have only one map entry.
|
||||
|
Reference in New Issue
Block a user