aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/ScintillaWin.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-12-01 02:51:28 +0000
committernyamatongwe <devnull@localhost>2001-12-01 02:51:28 +0000
commitbe6cb0eaf1a6693de4add83c76f6708fd25e32bc (patch)
treee128e18d6d4491dff5e64469e03e9fc5969e09eb /win32/ScintillaWin.cxx
parentf3e6e6aa71ccf89d761e5a5088018d3e5a1d9bbf (diff)
downloadscintilla-mirror-be6cb0eaf1a6693de4add83c76f6708fd25e32bc.tar.gz
Removed old timeing code in favour of ElapsedTime class.
Diffstat (limited to 'win32/ScintillaWin.cxx')
-rw-r--r--win32/ScintillaWin.cxx16
1 files changed, 2 insertions, 14 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index 9254a842b..e47c21f79 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -360,12 +360,7 @@ static int KeyTranslate(int keyIn) {
}
LRESULT ScintillaWin::WndPaint(unsigned long wParam) {
- //CElapsed ce; ce.Begin();
- //LARGE_INTEGER perfStart;
- //LARGE_INTEGER perfEnd;
- //LARGE_INTEGER performanceFreq;
- //QueryPerformanceFrequency(&performanceFreq);
- //QueryPerformanceCounter(&perfStart);
+ //ElapsedTime et;
// Redirect assertions to debug output and save current state
bool assertsPopup = Platform::ShowAssertionPopUps(false);
@@ -408,14 +403,7 @@ LRESULT ScintillaWin::WndPaint(unsigned long wParam) {
// Restore debug output state
Platform::ShowAssertionPopUps(assertsPopup);
- //QueryPerformanceCounter(&perfEnd);
- //__int64 start = perfStart.QuadPart;
- //__int64 end = perfEnd.QuadPart;
- //__int64 freq = performanceFreq.QuadPart;
- //__int64 dur = end - start;
- //double per = double(dur) / double(freq);
- //Platform::DebugPrintf("Paint took %5.03g\n", per);
- //Platform::DebugPrintf("Paint took %g\n", ce.End());
+ //Platform::DebugPrintf("Paint took %g\n", et.Duration());
return 0l;
}