Searched refs:timeDiff (Results 1 – 1 of 1) sorted by relevance
114 SysTime_t timeDiff = { 0 }; in SetMaxTimeCredits() local137 … timeDiff = SysTimeSub( elapsedTimeSinceStartup, SysTimeFromMs( band->LastMaxCreditAssignTime ) ); in SetMaxTimeCredits()143 ( timeDiff.Seconds >= BACKOFF_24_HOURS_IN_S ) ) in SetMaxTimeCredits()149 …timeDiff.Seconds = ( elapsedTimeSinceStartup.Seconds - BACKOFF_DUTY_CYCLE_24_HOURS_IN_S ) / BACKOF… in SetMaxTimeCredits()150 timeDiff.Seconds *= BACKOFF_24_HOURS_IN_S; in SetMaxTimeCredits()151 timeDiff.Seconds += BACKOFF_DUTY_CYCLE_24_HOURS_IN_S; in SetMaxTimeCredits()152 timeDiff.SubSeconds = 0; in SetMaxTimeCredits()153 band->LastMaxCreditAssignTime = SysTimeToMs( timeDiff ); in SetMaxTimeCredits()