Is there a way to determine when context switching occurs without using profilographs? I wrote a C program to track the time taken to execute various processes in a program to complete execution. I want to show also process / thread context switching. Switch switching time and off prev_id -> curr_id. These 3 information would be helpful.
source
share