Raw File
report.h
// data structure for reporting actions during the merge; in standard mode
// (say mono proc), this is just a wrap around for a FILE; otherwise,
// it can be used to register things in an array that will be examined and
// flushed from time to time. See the MPI version for more.
typedef struct{
    char type;
    // '0' for the standard stuff
    FILE *outfile;
    // '1' for MPI
    int32_t **history;
    int mark;
    int bufsize; // says it!
} report_t;

extern void report1(report_t *rep, int32_t i, int32_t j);
extern void report2(report_t *rep, int32_t i1, int32_t i2, int32_t j);
extern void reportn(report_t *rep, int32_t *ind, int n, int32_t j);
back to top