[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Linux program to determine CPU burst time

There is a program called `time' which measures the time a process takes
to run. bash has a builtin command called `times' which does the same
thing. Take a look at the times(2) and associated man pages.

Just type `time program' or `times program'

I'm not sure if this is what you need, but HTH.

bye :)

On Wed, 7 Feb 2001, Manish Malik wrote:

> Does there exist and Linux program that runs as a "wrapper" around any 
> program I write, and execute it and then tell me how much of CPU Burst 
> time,etc. my program used ?
> This is required as I require to match the theoretical "order" of some of 
> the popular sorting programs with actual clock ticks the program uses the 
> CPU for.
> thanks,
> Manish.
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> ------------------------------------------------
> An alpha version of a web based tool to manage
> your subscription with this mailing list is at
> http://lists.linux-india.org/cgi-bin/mj_wwwusr