summaryrefslogtreecommitdiff
path: root/shared/global_func.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:08:42 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:08:42 +0200
commitc32707148292d104c66276b43796d6057c8c7a5d (patch)
treebb83513f4aff24153e21a4ec92e34e4c27651b1f /shared/global_func.cpp
parent3.9 (diff)
downloadFreeFileSync-c32707148292d104c66276b43796d6057c8c7a5d.tar.gz
FreeFileSync-c32707148292d104c66276b43796d6057c8c7a5d.tar.bz2
FreeFileSync-c32707148292d104c66276b43796d6057c8c7a5d.zip
3.10
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