creation, context switch time of process and thread

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



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

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux