mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Removed accidentally committed code
This commit is contained in:
parent
4e27d71d97
commit
e2c88e0946
@ -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<CMeasure*>::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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user