Name Date Size #Lines LOC

..--

README.MDH A D07-Sep-2022535 128

perf_cxt_switch_1.cppH A D07-Sep-20225.8 KiB174157

perf_cxt_switch_2.cppH A D07-Sep-20226.2 KiB193175

perf_cxt_switch_3.cppH A D07-Sep-202215.2 KiB430377

README.MD

1# Using context-switch perf event to collect interesting stats
2
3## perf_cxt_switch_1
4Simply report how many context-switch happened per second.
5
6## perf_cxt_switch_2
7Collect information about which cgroup, keyed by hostname, is now having a process directly contending with current cgroup.
8When the program is stopped, via `Ctrl+C`, a report would be generated indicating which group has most direct impact.
9
10## perf_cxt_switch_3
11Profiling when context-switch happened, answering the question: what I was doing when I was interrupted.
12