summaryrefslogtreecommitdiff
path: root/shared/global_func.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shared/global_func.cpp')
-rw-r--r--shared/global_func.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/shared/global_func.cpp b/shared/global_func.cpp
index d1ab9d2c..c3d76c57 100644
--- a/shared/global_func.cpp
+++ b/shared/global_func.cpp
@@ -16,33 +16,6 @@ size_t common::getDigitCount(size_t number) //count number of digits
return number == 0 ? 1 : static_cast<size_t>(::log10(static_cast<double>(number))) + 1;
}
-
-//############################################################################
-Performance::Performance() :
- resultWasShown(false),
- timer(new wxStopWatch)
-{
- timer->Start();
-}
-
-
-Performance::~Performance()
-{
- //keep non-inline destructor for std::auto_ptr to work with forward declaration
-
- if (!resultWasShown)
- showResult();
-}
-
-
-void Performance::showResult()
-{
- resultWasShown = true;
- wxMessageBox(wxLongLong(timer->Time()).ToString() + wxT(" ms"));
- timer->Start(); //reset timer
-}
-
-
//############################################################################
DebugLog::DebugLog() :
lineCount(0),
bgstack15