Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by loeg

4 hours ago

It's 32 bits of milliseconds, right? Hm, no, that would overflow much sooner (49.7 days).

2 comments

loeg

Reply

oasisaimlessly  4 hours ago

It's a uint32_t of 750 Hz "jiffies", which does overflow at ~66 days.

  • userbinator  2 hours ago

    While that seems like a convincing explanation, 750Hz is a rather odd value to use for a timer, and more importantly the overflow would be at 66d6h43m43s instead of the reported ~66d12h.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities