question on timing results

Matthew Miller mattdm at mattdm.org
Wed Jun 8 15:27:18 UTC 2005


On Wed, Jun 08, 2005 at 11:21:01AM -0400, Matthew Saltzman wrote:
> >clock() or the more detailed-if-you-have-sub-processes times() call
> >basically returns to your program exactly what the bash 'time' command
> >would.
> Only if it's the first and last thing your program does.  If you want to 
> time only the "solve" step of a program that does


Yeah, sorry, that's what I meant by "basically". :)


-- 
Matthew Miller           mattdm at mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>
Current office temperature: 79 degrees Fahrenheit.




More information about the fedora-list mailing list