Context switching time on Unix.Linux

how can i write a C program which measures the speed of a context switch on a UNIX/Linux system..? any help please... thank you in advance..
Topic archived. No new replies allowed.