PLogStageRegister

Attaches a charactor string name to a logging stage.

Synopsis

#include "petsc.h"   
int PLogStageRegister(int stage,const char sname[])
Not Collective

Input Parameters

stage - the stage from 0 to 9 inclusive (use PETSC_DETERMINE for current stage)
sname - the name to associate with that stage

Notes

The string information (for stage names) is not copied, so the user should NOT change any strings specified here.

See Also

PLogStagePush(), PLogStagePop(), PreLoadBegin(), PreLoadEnd(), PreLoadStage()

Level:intermediate
Location:
src/sys/src/plog/plog.c
Index of all Profiling routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/sles/examples/tutorials/ex5.c
src/sles/examples/tutorials/ex9.c