Re: Measuring time
- From: Hans-Bernhard Bröker <HBBroeker@xxxxxxxxxxx>
- Date: Mon, 14 Jan 2008 12:49:54 -0600 (CST)
kostas.tzoumas@xxxxxxxxx wrote:
What do I have to measure - CPU time or calendar time?
You have clock() for CPU time, and gettimeofday() for calendar time. All other choices would be non-portable.
--
comp.lang.c.moderated - moderation address: clcm@xxxxxxxxxxxx -- you must
have an appropriate newsgroups line in your header for your mail to be seen,
or the newsgroup name in square brackets in the subject line. Sorry.
.
- References:
- Measuring time
- From: kostas . tzoumas
- Measuring time
- Prev by Date: Re: Pointer to an individual bit?
- Next by Date: Re: GSL woes
- Previous by thread: Measuring time
- Next by thread: GSL woes
- Index(es):
Relevant Pages
|