Can someone give the information of following typical values in Kernel 3.x<div>in a 2Ghz machine with sufficient RAM<br><div><br></div><div>Process creation time ?</div><div>Process context switch time ?</div></div><div>pthread creation time ?</div>
<div><meta http-equiv="content-type" content="text/html; charset=utf-8">pthread context swich time ?</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>kernel thread creation time ?</div><div>kernel thread context swich time ?</div>
<div><br></div><div>What is the best way to measure these values?</div><div>I wrote a simple test for measuring kernel thread context switch </div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>A simple test like</div>
<div><br></div><div>1. get_time(start)</div><div>2. schedule();</div><div>3. get_time(end)</div><div>4. print( context sw time = (end-start) )</div><div><br></div><div>But it doesnt seem to work correctly.</div><div><br></div>
<div>Thanks.</div><div>Ramanan</div><div><br></div><div><br></div><div><br></div>