TAU_DUMP_FUNC_VALS_I(3)

Name
TAU_DUMP_FUNC_VALS_INCR - Dumps function values with a timestamp

Synopsis

C/C++:

TAU_DUMP_FUNC_VALS_INCR(char **inFuncs, int numFuncs);

Description

Similar to TAU_DUMP_FUNC_VALS. This macro creates an incremental selective dump and dumps the results with a date stamp to the filename such as sel_dump__Thu-Mar-28-16:30:48-2002__.0.0.0. In this manner the previous TAU_DUMP_FUNC_VALS_INCR(...) are not overwritten (unless they occur within a second).

Example

C/C++ :

    const char **inFuncs;
    /* The first dimension is functions, and the second dimension is counters */
    double **counterExclusiveValues;
    double **counterInclusiveValues;
    int *numOfCalls;
    int *numOfSubRoutines;
    const char **counterNames;
    int numOfCouns;
    TAU_GET_FUNC_VALS(inFuncs, 2,
      counterExclusiveValues,
      counterInclusiveValues,
      numOfCalls,
      numOfSubRoutines,
      counterNames,
      numOfCouns);
    TAU_DUMP_FUNC_VALS(inFuncs, 2);

Python:

    import pytau
    pytau.dumpFuncValsIncr("foo", "bar", "bar2")

See Also

TAU_DB_DUMP(3), TAU_DUMP_FUNC_NAMES(3), TAU_DUMP_FUNC_VALS(3)