We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 206be1a commit 61e61f0Copy full SHA for 61e61f0
hwy/profiler.h
@@ -304,6 +304,10 @@ class ThreadSet {
304
// `CountThreadsAndReset` then checks how many were nonzero, which avoids
305
// expensive atomic updates and ensures accurate counts per-zone, rather than
306
// estimates of current activity at each sample.
307
+// D. Vyukov's https://github.com/dvyukov/perf-load, also integrated into Linux
308
+// perf, also corrects for parallelism without using atomic counters by tracing
309
+// context switches. Note that we often pin threads, which avoids migrations,
310
+// but reduces the number of context switch events to mainly preemptions.
311
class ConcurrencyStats {
312
public:
313
ConcurrencyStats() { Reset(); }
0 commit comments