1 /* 2 * Copyright (c) 1999-2000 Proofpoint, Inc. and its suppliers. 3 * All rights reserved. 4 * 5 * By using this file, you agree to the terms and conditions set 6 * forth in the LICENSE file which can be found at the top level of 7 * the sendmail distribution. 8 * 9 * $Id: timers.h,v 8.7 2013/11/22 20:51:57 ca Exp $ 10 * 11 * Contributed by Exactis.com, Inc. 12 * 13 */ 14 15 #ifndef TIMERS_H 16 #define TIMERS_H 1 17 18 #define MAXTIMERSTACK 20 /* maximum timer depth */ 19 20 #define TIMER struct _timer 21 22 TIMER 23 { 24 long ti_wall_sec; /* wall clock seconds */ 25 long ti_wall_usec; /* ... microseconds */ 26 long ti_cpu_sec; /* cpu time seconds */ 27 long ti_cpu_usec; /* ... microseconds */ 28 }; 29 30 extern void pushtimer __P((TIMER *)); 31 extern void poptimer __P((TIMER *)); 32 extern char *strtimer __P((TIMER *)); 33 #endif /* ! TIMERS_H */ 34