search for: recorddefault

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

2005 Sep 26
1
Precomputing the remaining floating point operations.
...EN \ if (!recordFile && (recordFile = 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, &qu...