Thread (5 messages) 5 messages, 4 authors, 2012-05-27

creation, context switch time of process and thread

From: richard -rw- weinberger <hidden>
Date: 2012-05-25 07:20:37

On Thu, May 24, 2012 at 2:25 PM, Srinivas Ramanan
[off-list ref] wrote:
Can someone give the ?information of following typical values in Kernel 3.x
in a 2Ghz machine with sufficient RAM

Process creation time ?
Process context switch time ?
pthread creation time ?
pthread context swich ?time ?
kernel thread creation time ?
kernel thread context swich ?time ?

What is the best way to measure these values?
You can use events like sched_switch.
See: /sys/kernel/debug/tracing/events/sched/

-- 
Thanks,
//richard
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help