2004 by Marc J. Rochkind. All rights reserved. Portions marked "Open Source" may be copied under license.

 

Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

c1/time.c File Reference


Detailed Description

timestart and timestop [Sec. 1.7.2]

Definition in file time.c.

Go to the source code of this file.

Functions

void timestart (void)
void timestop (char *msg)

Variables

tms tbuf1
clock_t real1
long clock_ticks


Function Documentation

void timestart void   ) 
 

Definition at line 30 of file time.c.

References clock_ticks, EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FLUSH, ec_neg1, real1, sysconf(), tbuf1, and times().

Referenced by aio_test(), asynchronous(), main(), synchronous(), and synctest().

void timestop char *  msg  ) 
 

Definition at line 42 of file time.c.

References clock_ticks, EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FLUSH, ec_neg1, real1, tbuf1, times(), tms::tms_cstime, tms::tms_cutime, tms::tms_stime, and tms::tms_utime.

Referenced by aio_test(), asynchronous(), main(), synchronous(), and synctest().


Variable Documentation

long clock_ticks [static]
 

Definition at line 28 of file time.c.

Referenced by timestart(), and timestop().

clock_t real1 [static]
 

Definition at line 27 of file time.c.

Referenced by timestart(), and timestop().

struct tms tbuf1 [static]
 

Definition at line 26 of file time.c.

Referenced by timestart(), and timestop().


Generated on Fri Apr 23 10:57:07 2004 for AUP2 Example Source by doxygen 1.3.1