search for: closerecordfile

Displaying 1 result from an estimated 1 matches for "closerecordfile".

2005 Sep 26
1
Precomputing the remaining floating point operations.
...File = fopen ("precompute.c", "w")) != NULL) { \ fprintf (recordFile, "#include \"config.h\"\n\ #ifndef EMBEDDED\n\ #include <stdio.h>\n\ FILE *recordFile = NULL;\n\ #else\n\ int recordDefault[]={\n");\ atexit (CloseRecordFile); \ } \ #define RECOPLAY_MARK(name) { _RECOPLAY_FOPEN; \ if (recordFile) fprintf (recordFile, "}, record"#name"[] = {\n"); \ } #define RECOPLAY(x) ({ \ int v = (x); \ _RECOPLAY_FOPEN; \ fprintf (recordFile, " %d,\n", v); \ v; \ }) static...