On Tue, 18 Mar 2014 19:01:50 +0300, Nada Saif said:

> I want to measure thread context switching in c, How I can do that?

What are you trying to measure, exactly, and why?  The answer depends on
the details of the question.

However, my first go-to solution would see if 'perf' can cough up the
numbers you need.  It's able to slurp out all sorts of timing data from
the kernel (though some data and trace points require CONFIG_* variables
to be set in the kernel build).

Attachment: pgpz0guNYeRuJ.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to