Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!pasteur!ucbvax!unisoft!paul From: paul@unisoft.UUCP (n) Newsgroups: comp.unix.aux Subject: gettimeofday() Message-ID: <930@unisoft.UUCP> Date: 28 Apr 88 17:05:46 GMT Lines: 22 I've noticed that gettimeofday() (the A/UX emulation of the BSD system call) may run slower than many people think (a number of programs - CAP, X NeWS etc use this heavily), in BSD the timezone information is obtained from the kernel, in A/UX it must come from disk ..... 5 minutes with adb shows that if you don't want the timezone information (most applications do not) the following macro can be used: #define gettimeofday(time, timezone) _gettimeofday(time) again this is only a real issue if you call gettimofday a lot (rather than just once per program) Paul -- Paul Campbell, UniSoft Corp. 6121 Hollis, Emeryville, Ca E-mail: ..!{ucbvax,hoptoad}!unisoft!paul Nothing here represents the opinions of UniSoft or its employees (except me) "Nuclear war doesn't prove who's Right, just who's Left" (ABC news 10/13/87)