mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-21 07:17:41 +00:00
Debugger: Extend 'cycles' command to do (partial) timings relative to a user-specified instruction (#787) (PR #789)
This commit is contained in:
@@ -102,15 +102,17 @@
|
||||
class VideoScannerDisplayInfo
|
||||
{
|
||||
public:
|
||||
VideoScannerDisplayInfo(void) : isDecimal(false), isHorzReal(false), isAbsCycle(false),
|
||||
VideoScannerDisplayInfo(void) : isDecimal(false), isHorzReal(false), cycleMode(rel),
|
||||
lastCumulativeCycles(0), cycleDelta(0) {}
|
||||
void Reset(void) { lastCumulativeCycles = g_nCumulativeCycles; cycleDelta = 0; }
|
||||
void Reset(void) { lastCumulativeCycles = savedCumulativeCycles = g_nCumulativeCycles; cycleDelta = 0; }
|
||||
|
||||
bool isDecimal;
|
||||
bool isHorzReal;
|
||||
bool isAbsCycle;
|
||||
enum CYCLE_MODE {abs=0, rel, part};
|
||||
CYCLE_MODE cycleMode;
|
||||
|
||||
unsigned __int64 lastCumulativeCycles;
|
||||
unsigned __int64 savedCumulativeCycles;
|
||||
UINT cycleDelta;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user