title: how to get the scheduling statistics of threads in linux?
body: <p>In Linux, we can use "cat /proc/processs-id/sched" to get the scheduling infomation, nr_switches，nr_voluntary_switches，nr_involuntary_switches tell us how many times has the process be scheduled. Is there any similar method that we can get a thread's scheduling times?
  thanks in advance!</p>