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 foota

5 hours ago

Just curious, why? Is this true even if you did something like a per-CPU histogram that uses atomic ops to increment?

1 comment

foota

Reply

jeffbee  2 hours ago

If you have a per-cpu metric there would not be a reason to use atomic instructions to mutate it.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities