why perf has such high context-switches? Languages

why perf has such high context-switches?

I was trying to understand the linux perf, and found some really confusing behavior: I wrote a simple multi-threading example with one thread pinned to each core; each thread runs computation locally and does not communicate with each other (see test.cc below). I was thinking that this example should have...
Read More