<div dir="ltr"><a href="http://stackoverflow.com/questions/2368384/write-a-c-program-to-measure-time-spent-in-context-switch-in-linux-os">http://stackoverflow.com/questions/2368384/write-a-c-program-to-measure-time-spent-in-context-switch-in-linux-os</a><br>
<div><br></div><div>Check oprofile</div><div><br></div><div>Regards,</div><div>Saqlain.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Mar 16, 2014 at 11:02 PM, Nada Saif <span dir="ltr"><<a href="mailto:nada.saif7@gmail.com" target="_blank">nada.saif7@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>I need to write a C code to measure time spent in threads context switch-- any tips how to do that?</div>
<div><br></div><div><br></div><div>Thanks,</div><div>Nada</div></div>
<br>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Kind Regards,<div>Saqlain Abbas.</div>
</div>