resetting counters in Event Debugger
- Wolverine@MSU
- CEO
- Posts: 1166
- Joined: Fri Nov 10, 2006 2:14 pm
- Location: East Lansing, MI
resetting counters in Event Debugger
Anyone out there know how to reset the "Number of Times Tested" and "Number of Times Triggered" values that show up in the Event Debugger, or where in the .gmp file they are stored?
Search through the GMP for the name of the event. The event structure starts 24 bytes before the start of this string and is 2199 bytes long. The 'processed' counter is 2083 bytes into the structure, while the 'triggered' counter is 2087 bytes in. Both counters are four bytes, stored LSB first.
For in-memory work, [62BE18h] points to the EventTable. Offset +30h of the EventTable points to the base of an array of Events, while +14h contains the number of events. In-memory events look just like in-file events, so again look at +2083(+823h) for the 'processed' counter and +2087(+827h) for the 'triggered' counter.
For in-memory work, [62BE18h] points to the EventTable. Offset +30h of the EventTable points to the base of an array of Events, while +14h contains the number of events. In-memory events look just like in-file events, so again look at +2083(+823h) for the 'processed' counter and +2087(+827h) for the 'triggered' counter.