3 Description: structure for timing routines
4 Copyright: A. MacFarlane (1996)
5 Altered 27/2/2007 for terabtye web efficiency experiments
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation.
11 This program is distributed in the hope that it will be useful
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 #include <sys/types.h>
29 /* break down of costs for a timed entity */
31 struct timeval io
; /* input/output */
32 struct timeval cpu
; /* cpu cost */
33 struct timeval mar
; /* cost of marshalling */
34 struct timeval comms
; /* comunication costs */
35 struct timeval wait
; /* delay costs */
36 struct timeval prev
; /* total time at previous node -
37 for calc comms time */