MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / ProfileReset

Function ProfileReset

source/Debugger/Debug.cpp:8827–8842  ·  view source on GitHub ↗

===========================================================================

Source from the content-addressed store, hash-verified

8825
8826//===========================================================================
8827void ProfileReset ()
8828{
8829 for ( int iOpcode = 0; iOpcode < NUM_OPCODES; iOpcode++ )
8830 {
8831 g_aProfileOpcodes[ iOpcode ].m_iOpcode = iOpcode;
8832 g_aProfileOpcodes[ iOpcode ].m_nCount = 0;
8833 }
8834
8835 for ( int iOpmode = 0; iOpmode < NUM_OPMODES; iOpmode++ )
8836 {
8837 g_aProfileOpmodes[ iOpmode ].m_iOpmode = iOpmode;
8838 g_aProfileOpmodes[ iOpmode ].m_nCount = 0;
8839 }
8840
8841 g_nProfileBeginCycles = g_nCumulativeCycles;
8842}
8843
8844
8845//===========================================================================

Callers 1

CmdProfileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected