Move start/stop/expire debug messages to DBG2() level.
This commit is contained in:
parent
3c2cc59d25
commit
8a268073a7
@ -69,7 +69,7 @@ void start_timer ( struct retry_timer *timer ) {
|
|||||||
timer->start = currticks();
|
timer->start = currticks();
|
||||||
if ( timer->timeout < MIN_TIMEOUT )
|
if ( timer->timeout < MIN_TIMEOUT )
|
||||||
timer->timeout = MIN_TIMEOUT;
|
timer->timeout = MIN_TIMEOUT;
|
||||||
DBG ( "Timer %p started at time %ld (expires at %ld)\n",
|
DBG2 ( "Timer %p started at time %ld (expires at %ld)\n",
|
||||||
timer, timer->start, ( timer->start + timer->timeout ) );
|
timer, timer->start, ( timer->start + timer->timeout ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -92,7 +92,7 @@ void stop_timer ( struct retry_timer *timer ) {
|
|||||||
list_del ( &timer->list );
|
list_del ( &timer->list );
|
||||||
runtime = ( now - timer->start );
|
runtime = ( now - timer->start );
|
||||||
timer->start = 0;
|
timer->start = 0;
|
||||||
DBG ( "Timer %p stopped at time %ld (ran for %ld)\n",
|
DBG2 ( "Timer %p stopped at time %ld (ran for %ld)\n",
|
||||||
timer, now, runtime );
|
timer, now, runtime );
|
||||||
|
|
||||||
/* Update timer. Variables are:
|
/* Update timer. Variables are:
|
||||||
@ -131,7 +131,7 @@ static void timer_expired ( struct retry_timer *timer ) {
|
|||||||
int fail;
|
int fail;
|
||||||
|
|
||||||
/* Stop timer without performing RTT calculations */
|
/* Stop timer without performing RTT calculations */
|
||||||
DBG ( "Timer %p stopped at time %ld on expiry\n",
|
DBG2 ( "Timer %p stopped at time %ld on expiry\n",
|
||||||
timer, currticks() );
|
timer, currticks() );
|
||||||
list_del ( &timer->list );
|
list_del ( &timer->list );
|
||||||
timer->start = 0;
|
timer->start = 0;
|
||||||
|
Reference in New Issue
Block a user