summaryrefslogtreecommitdiff
path: root/CIAO/DAnCE/TM_Daemon/Profile_Code.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/DAnCE/TM_Daemon/Profile_Code.cpp')
-rw-r--r--CIAO/DAnCE/TM_Daemon/Profile_Code.cpp49
1 files changed, 0 insertions, 49 deletions
diff --git a/CIAO/DAnCE/TM_Daemon/Profile_Code.cpp b/CIAO/DAnCE/TM_Daemon/Profile_Code.cpp
deleted file mode 100644
index 05707c37399..00000000000
--- a/CIAO/DAnCE/TM_Daemon/Profile_Code.cpp
+++ /dev/null
@@ -1,49 +0,0 @@
-#include "Profile_Code.h"
-#include "ace/Time_Value.h"
-
-Profile_Code::Profile_Code (const std::string& file)
- :running_(false)
-{
- // open the file ...
- this->file_.open (file.c_str (), std::ios::app);
-}
-
-
-Profile_Code::~Profile_Code ()
-{
- this->file_.close ();
-}
-
-
-void Profile_Code::start ()
-{
-
- // if still running ... stop it and then run again ...
- if (this->running_)
- {
- this->timer_.stop ();
- }
-
-
- // start the timer ....
- this->timer_.start ();
-
- this->running_ = true;
-}
-
-
-void Profile_Code::stop ()
-{
- this->timer_.stop ();
- this->timer_.elapsed_microseconds (this->elapsed_time_);
- // reset the state
- this->running_ = false;
-
-}
-
-void
-Profile_Code::dump ()
-{
- this->file_ << this->elapsed_time_ << std::endl;
-
-}