File: clogimpl.h

package info (click to toggle)
mpich 1.1.0-3
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 22,116 kB
  • ctags: 27,349
  • sloc: ansic: 193,435; sh: 11,172; fortran: 6,545; makefile: 5,801; cpp: 5,020; tcl: 3,548; asm: 3,536; csh: 1,079; java: 614; perl: 183; awk: 168; sed: 70; f90: 62
file content (31 lines) | stat: -rw-r--r-- 853 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef _CLOGIMPL
#define _CLOGIMPL

#if defined(NEEDS_STDLIB_PROTOTYPES) && !defined ( malloc )
#include "protofix.h"
#endif

#include "clog.h"

#if defined(MPIR_MEMDEBUG)
/* Enable memory tracing.  This requires MPICH's mpid/util/tr2.c codes */
#include "mpimem.h"		/* Chameleon memory debugging stuff */
#define MALLOC(a)    MPID_trmalloc((unsigned)(a),__LINE__,__FILE__)
#define FREE(a)      MPID_trfree(a,__LINE__,__FILE__)
#else
#define MALLOC(a)    malloc(a)
#define FREE(a)      free(a)
#define MPID_trvalid(a)
#endif


void CLOG_dumplog ANSI_ARGS(( void ));
void CLOG_outblock ANSI_ARGS((double *));
void CLOG_dumpblock ANSI_ARGS(( double * ));
int  CLOG_reclen ANSI_ARGS(( int ));
void CLOG_msgtype ANSI_ARGS(( int ));
void CLOG_commtype ANSI_ARGS(( int ));
void CLOG_colltype ANSI_ARGS(( int ));
void CLOG_rectype ANSI_ARGS(( int ));

#endif