updates (for debugging)
authorReinhard Pfau <Reinhard.Pfau@gmx.de>
Sun, 19 Apr 2009 17:33:51 +0000 (19:33 +0200)
committerReinhard Pfau <Reinhard.Pfau@gmx.de>
Sun, 19 Apr 2009 17:33:51 +0000 (19:33 +0200)
asyncio/async_timer.cpp

index 95aecab..073d32b 100644 (file)
@@ -44,6 +44,7 @@ on this file might be covered by the GNU General Public License.
 namespace AsyncIo
 {
 
+using namespace Utils;
 
 /*
  * Implementation of SimpleTimer
@@ -72,7 +73,9 @@ void SimpleTimer::execute()
 {
    ODOUT("execute()!");
    m_timer_signal();
+   ODOUT("  signal with this");
    m_timer_signal_p(this);
+   ODOUT("execute done.");
 } // eo SimpleTimer::execute
 
 
@@ -95,7 +98,7 @@ void SimpleTimer::startTimer( const MilliTime& delta )
    activate(true);
 #ifdef NOISEDEBUG
    MilliTime now, t;
-   get_current_time(now);
+   get_current_monotonic_time(now);
    t= getWhenTime();
    MilliTime dt= t-now;
    ODOUT("startTimer");