[TriLUG] clock() from time.h

Joseph Mack NA3T jmack at wm7d.net
Thu May 18 14:52:58 EDT 2006


On Thu, 18 May 2006, Randall Barlow wrote:

> If not, do you know something that 
> will under linux (and I can just use preprocessor directives to check whether 
> I am in Linux or Windows at compile time...)

for linux, do you know about the time command?, eg

# time ls

you'll have to parse the output for wall, user and sys times

Joe

-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml 
Homepage http://www.austintek.com/ It's GNU/Linux!



More information about the TriLUG mailing list