Re:Measuring mutexes, spinlocks and how bad the Linux schedu...
by RossBencina on Wednesday January 01, 2020 @01:12PM
(#21929466)
It's not entirely clear from the article, but my understanding was that "longest wait" maintains per-thread timestamps, i.e. the time to lock() within a single thread, whereas "idle time" uses a single global atomic timestamp that measures the time from when the last thread unlocks until the next thread locks -- even if the unlock() and subsequent lock() are on different threads.
[ Parent
| on HN ]
There are no comments on this comment yet.