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
|
| 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()
Examples
src/mat/examples/tutorials/ex1.c
src/sles/examples/tutorials/ex5.c
src/sles/examples/tutorials/ex10.c
src/sles/examples/tutorials/ex9.c
Level:intermediate
Location:src/sys/src/plog/plog.c
Logging Index
Table of Contents