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

Function CmdBenchmarkStop

source/Debugger/Debug.cpp:786–799  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

784
785//===========================================================================
786Update_t CmdBenchmarkStop (int nArgs)
787{
788 g_bBenchmarking = false;
789 DebugEnd();
790
791 GetFrame().FrameRefreshStatus(DRAW_TITLE | DRAW_DISK_STATUS);
792 GetFrame().VideoRedrawScreen();
793 uint32_t currtime = GetTickCount();
794 while ((extbench = GetTickCount()) != currtime)
795 ; // intentional busy-waiting
796 KeybQueueKeypress(' ' ,ASCII);
797
798 return UPDATE_ALL; // 0;
799}
800
801//===========================================================================
802Update_t CmdProfile (int nArgs)

Callers 1

CmdBenchmarkFunction · 0.85

Calls 4

DebugEndFunction · 0.85
KeybQueueKeypressFunction · 0.85
FrameRefreshStatusMethod · 0.80
VideoRedrawScreenMethod · 0.80

Tested by

no test coverage detected