Zoran Cutura <> writes:
> aegis <> wrote:
>> What is wall clock time? the standard doesn't define it
>> but I see its use in past posts on clc.
>
> Well its the time that your clock on the wall shows.
> There need not be any tool, function or else that provides
> your C programs with this information, system specific extensions make
> make this available.
See <time.h>. The time() function gives you a representation of what
I'd refer to as "wall clock time" (as distinct from CPU time).
I suppose "wall clock time" could refer either to a given moment or to
an elapsed time; the latter can be computed by calling difftime().
No system specific extensions are necessary, unless you need some
particular resolution -- or unless you're using the phrase "wall clock
time" to refer to something other than what I'm thinking of.
--
Keith Thompson (The_Other_Keith)
kst- <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.