From e2c88e0946a6ceba9cf8a0ce3718c5db0dc0391a Mon Sep 17 00:00:00 2001 From: spx Date: Tue, 15 Jan 2013 04:39:35 +0900 Subject: [PATCH] Removed accidentally committed code --- Library/MeterWindow.cpp | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/Library/MeterWindow.cpp b/Library/MeterWindow.cpp index c5011d3d..014d199a 100644 --- a/Library/MeterWindow.cpp +++ b/Library/MeterWindow.cpp @@ -2678,11 +2678,6 @@ void CMeterWindow::Update(bool refresh) { ++m_UpdateCounter; -#ifdef DEBUG_PERF_UPDATE - _QPC(s1); - __int64 e1; -#endif - if (!m_Measures.empty()) { // Pre-updates @@ -2692,10 +2687,6 @@ void CMeterWindow::Update(bool refresh) CMeasureNet::UpdateStats(); } -#ifdef DEBUG_PERF_UPDATE - e1 = QPC(); -#endif - // Update all measures std::vector::const_iterator i = m_Measures.begin(); for ( ; i != m_Measures.end(); ++i) @@ -2707,19 +2698,9 @@ void CMeterWindow::Update(bool refresh) } } } -#ifdef DEBUG_PERF_UPDATE - else - { - e1 = QPC(); - } -#endif CDialogAbout::UpdateMeasures(this); -#ifdef DEBUG_PERF_UPDATE - _QPC(e2); -#endif - // Update all meters bool bActiveTransition = false; bool bUpdate = false; @@ -2734,12 +2715,6 @@ void CMeterWindow::Update(bool refresh) } } -#ifdef DEBUG_PERF_UPDATE - _QPC(e3); - double q1 = QPCms(s1,e1), q2 = QPCms(e1,e2), q3 = QPCms(e2,e3); - DebugString(L"Update: %.5f [ms] (PreUpdate: %.5f / Measure: %.5f / Meter: %.5f) :: %s", q1 + q2 + q3, q1, q2, q3, m_FolderPath.c_str()); -#endif - // Redraw all meters if (bUpdate || m_ResizeWindow || refresh) {