watchdog/src/cwdtimer.cpp
changeset 1 6f2c1c46032b
parent 0 671dee74050a
child 23 d4d56f5e7c55
--- a/watchdog/src/cwdtimer.cpp	Mon Apr 19 14:40:16 2010 +0300
+++ b/watchdog/src/cwdtimer.cpp	Mon May 03 13:33:22 2010 +0300
@@ -20,6 +20,11 @@
 #include "WatchDogCommon.h"
 #include "MWDTimerHandler.h"
 #include <HarvesterServerLogger.h>
+#include "OstTraceDefinitions.h"
+#ifdef OST_TRACE_COMPILER_IN_USE
+#include "cwdtimerTraces.h"
+#endif
+
 // -----------------------------------------------------------------------------
 // CWDTimer::NewL
 // -----------------------------------------------------------------------------
@@ -78,10 +83,12 @@
 //
 void CWDTimer::StartWDTimer()
     {
+    OstTraceFunctionEntry0( CWDTIMER_STARTWDTIMER_ENTRY );
     CPIXLOGSTRING("CWDTimer::StartWDTimer(): Entered");    
     //start the timer
     iTimer.After( iStatus , MONITORING_DELAY ); // Wait 60 seconds before checking the servers
-    SetActive();
+    OstTraceFunctionExit0( CWDTIMER_STARTWDTIMER_EXIT );
+    SetActive();    
     }
 
 // -----------------------------------------------------------------------------