petsc-3.4.2 2013-07-02

# PetscStageLogGetStage

This function returns the stage id given the stage name.

### Synopsis

    #include "petscsys.h"
    PetscErrorCode  PetscStageLogGetStage(PetscStageLog stageLog, const char name[], int *stage)

Not Collective

### Input Parameters

| stageLog | - The PetscStageLog
| name | - The stage name

### Output Parameter

stage -The stage id

### Keywords

log, stage

### See Also

PetscStageLogGetCurrent(), PetscStageLogRegister(), PetscLogGetStageLog()

Level:developer
Location: src/sys/logging/utils/stagelog.c
Index of all Profiling routines
Table of Contents for all manual pages
Index of all manual pages