diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:08:42 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:08:42 +0200 |
commit | c32707148292d104c66276b43796d6057c8c7a5d (patch) | |
tree | bb83513f4aff24153e21a4ec92e34e4c27651b1f /shared/global_func.cpp | |
parent | 3.9 (diff) | |
download | FreeFileSync-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.cpp | 27 |
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), |