Changeset 522


Ignore:
Timestamp:
Jul 8, 2014 4:55:35 AM (5 years ago)
Author:
kulshres
Message:

allow users to skip clearing trace files at exit

in case trace files were created using a different
program, and the user wants to keep them persistent

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

Location:
trunk/ADOL-C
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/include/adolc/taping.h

    r441 r522  
    106106ADOLC_DLL_EXPORT bool isTaping();
    107107
     108ADOLC_DLL_EXPORT void skip_tracefile_cleanup(short tnum);
     109
    108110#endif
    109111
  • trunk/ADOL-C/src/taping.c

    r515 r522  
    13501350}
    13511351
     1352void skip_tracefile_cleanup(short tnum) {
     1353    TapeInfos *tinfo = getTapeInfos(tnum);
     1354    tinfo->pTapeInfos.skipFileCleanup = 1;
     1355}
     1356
    13521357/****************************************************************************/
    13531358/* Initialize a forward sweep. Get stats, open tapes, fill buffers, ...     */
Note: See TracChangeset for help on using the changeset viewer.