Path: utzoo!attcan!uunet!longway!std-unix From: uunet!mcgrath@paris.Berkeley.EDU@ (Roland McGrath) Newsgroups: comp.std.unix Subject: CLK_TCK vs. CLOCKS_PER_SEC Message-ID: <320@longway.TIC.COM> Date: 19 Mar 89 18:15:51 GMT Sender: std-unix@longway.TIC.COM Reply-To: uunet!mcgrath@paris.Berkeley.EDU@ (Roland McGrath) Organization: University of California, Berkeley Lines: 18 Approved: jsq@longway.tic.com (Moderator, John S. Quarterman) Newsgroups: comp.std.c,comp.std.unix Sender: uunet!usenet@agate.Berkeley.EDU@ From: uunet!mcgrath@paris.Berkeley.EDU@ (Roland McGrath) Can anyone tell me why the ANSI C committee changed CLK_TCK to CLOCKS_PER_SEC, and how this is supposed to be different than the CLK_TCK that 1003.1 assumes the C standard defines? They both seem to mean the number of `clock_t' increments ("clock ticks") in one second, but ANSI has for some reason separated the two uses (for `clock' and for POSIX `times'). -- Roland McGrath Free Software Foundation, Inc. roland@wheaties.ai.mit.edu, mit-eddie!wheaties.ai.mit.edu!roland Volume-Number: Volume 16, Number 19