Name

TAU_DB_DUMP_PREFIX_TASK — Dumps the profile database into profile files with a given task

Synopsis

C/C++:

TAU_DB_DUMP_PREFIX_TASK(PREFIX_TASK);
char *PREFIX_TASK;

Fortran:
TAU_DB_DUMP_PREFIX_TASK( prefix,  
  task);  
character   prefix(size);
integer   task(size);

Description

The TAU_DB_DUMP_PREFIX_TASK macro dumps all profile data to disk and records a checkpoint or a snapshot of the profile statistics on a particular task at that instant. The dump files are named <prefix>.<node>.<context>.<thread>. If prefix is "profile", the files are named profile.0.0.0, etc. and may be read by paraprof/pprof tools as the application executes.

Example

C/C++ :

TAU_DB_DUMP_PREFIX_TASK("PREFIX", taskid);      
    

Fortran :

call TAU_DB_DUMP_PREFIX_TASK("PREFIX", taskid)
    

Python :

import pytau

pytau.dbDump("PREFIX", taskid)