2
/* $Id: tracer.h,v 1.1 2002/10/14 15:00:15 chanceli Exp $ */
5
* Tracer version 1.0: A Trace File Generator for PVM
6
* Oak Ridge National Laboratory, Oak Ridge TN.
7
* Authors: James Arthur Kohl and G. A. Geist
8
* (C) 1994 All Rights Reserved
12
* Permission to use, copy, modify, and distribute this software and
13
* its documentation for any purpose and without fee is hereby granted
14
* provided that the above copyright notice appear in all copies and
15
* that both the copyright notice and this permission notice appear
16
* in supporting documentation.
18
* Neither the Institution, Oak Ridge National Laboratory, nor the
19
* Authors make any representations about the suitability of this
20
* software for any purpose. This software is provided ``as is''
21
* without express or implied warranty.
23
* Tracer was funded by the U.S. Department of Energy.
27
/* System Header Files */
35
#include <sys/types.h>
55
#include "../src/tdpro.h"
64
typedef void (*vfp)();
68
/* Defined Constants & Macros */
71
/* This Tracer's Version */
73
#define MYVERSION "1.0.0"
76
/* Select Macro (based on FDSETISINT) */
80
#define SELECT( _nfds, _rfdsp, _wfdsp, _efdsp, _tvalp ) \
82
(int *) (_rfdsp), (int *) (_wfdsp), (int *) (_efdsp), \
83
(struct timeval *) (_tvalp) )
87
#define SELECT( _nfds, _rfdsp, _wfdsp, _efdsp, _tvalp ) \
89
(fd_set *) (_rfdsp), (fd_set *) (_wfdsp), (fd_set *) (_efdsp), \
90
(struct timeval *) (_tvalp) )
99
void re_register_tracer();
104
extern struct Pvmtevinfo pvmtevinfo[];