https://gitlab.inria.fr/cado-nfs/cado-nfs
Raw File
Tip revision: d5a5c566e3ab7037e0960b1441613062ade661c9 authored by Alexander Kruppa on 29 March 2021, 19:23:48 UTC
Merge branch 'torture_redc_timing' into 'master'
Tip revision: d5a5c56
report.h
#ifndef REPORT_H_
#define REPORT_H_

#include "typedefs.h"
#include <stdio.h>

#ifdef __cplusplus
extern "C" {
#endif

// 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
    index_t **history;
    int mark;
    int bufsize; // says it!
} report_t;

#ifdef __cplusplus
}
#endif

#endif	/* REPORT_H_ */
back to top