===========================================================================
| 8825 | |
| 8826 | //=========================================================================== |
| 8827 | void 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 | //=========================================================================== |