All of lore.kernel.org
 help / color / mirror / Atom feed
* creation, context switch time of process and thread
@ 2012-05-24 12:25 Srinivas Ramanan
  2012-05-24 14:30 ` 刘智猷
  2012-05-25  7:20 ` richard -rw- weinberger
  0 siblings, 2 replies; 5+ messages in thread
From: Srinivas Ramanan @ 2012-05-24 12:25 UTC (permalink / raw)
  To: kernelnewbies

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?
I wrote  a simple test for measuring kernel thread context switch
A simple test like

1. get_time(start)
2. schedule();
3. get_time(end)
4. print( context sw time = (end-start) )

But it doesnt seem to work correctly.

Thanks.
Ramanan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120524/153397a7/attachment.html 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-05-27  7:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-24 12:25 creation, context switch time of process and thread Srinivas Ramanan
2012-05-24 14:30 ` 刘智猷
2012-05-25  7:20 ` richard -rw- weinberger
2012-05-25 17:29   ` Srinivas Ramanan
2012-05-27  7:36     ` Vladimir Murzin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.