Skip to content

[syncd] Use steady clock for TimerWatchdog (#613)#623

Merged
abdosi merged 1 commit intosonic-net:201911from
tahmed-dev:taahme/use-steady-clock
Jun 17, 2020
Merged

[syncd] Use steady clock for TimerWatchdog (#613)#623
abdosi merged 1 commit intosonic-net:201911from
tahmed-dev:taahme/use-steady-clock

Conversation

@tahmed-dev
Copy link
Copy Markdown
Contributor

Clock can rollback in big jumps and this causes TimerWatchdog to through
and crashes syncd. This code uses steady clock instead. Steady clock is
guaranteed to be monotonically increasing clock.

signed-of-by: Tamer Ahmed tamer.ahmed@microsoft.com

Clock can rollback in big jumps and this causes TimerWatchdog to through
and crashes syncd. This code uses steady clock instead. Steady clock is
guaranteed to be monotonically increasing clock.

signed-of-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
@tahmed-dev tahmed-dev requested review from abdosi and kcudnik June 16, 2020 23:19
@abdosi abdosi merged commit b3f4f98 into sonic-net:201911 Jun 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants