164562Sgshapiro/* 2261363Sgshapiro * Copyright (c) 1999-2000 Proofpoint, Inc. and its suppliers. 364562Sgshapiro * All rights reserved. 464562Sgshapiro * 564562Sgshapiro * By using this file, you agree to the terms and conditions set 664562Sgshapiro * forth in the LICENSE file which can be found at the top level of 764562Sgshapiro * the sendmail distribution. 864562Sgshapiro * 9266692Sgshapiro * $Id: timers.h,v 8.7 2013-11-22 20:51:57 ca Exp $ 1064562Sgshapiro * 1164562Sgshapiro * Contributed by Exactis.com, Inc. 1264562Sgshapiro * 1364562Sgshapiro */ 1464562Sgshapiro 1564562Sgshapiro#ifndef TIMERS_H 1664562Sgshapiro#define TIMERS_H 1 1764562Sgshapiro 1864562Sgshapiro#define MAXTIMERSTACK 20 /* maximum timer depth */ 1964562Sgshapiro 2064562Sgshapiro#define TIMER struct _timer 2164562Sgshapiro 2264562SgshapiroTIMER 2364562Sgshapiro{ 2464562Sgshapiro long ti_wall_sec; /* wall clock seconds */ 2564562Sgshapiro long ti_wall_usec; /* ... microseconds */ 2664562Sgshapiro long ti_cpu_sec; /* cpu time seconds */ 2764562Sgshapiro long ti_cpu_usec; /* ... microseconds */ 2864562Sgshapiro}; 2964562Sgshapiro 3064562Sgshapiroextern void pushtimer __P((TIMER *)); 3164562Sgshapiroextern void poptimer __P((TIMER *)); 3264562Sgshapiroextern char *strtimer __P((TIMER *)); 3390792Sgshapiro#endif /* ! TIMERS_H */ 34