petsc-3.4.2 2013-07-02

# PetscLogEventGetId

Returns the event id when given the event name.

### Synopsis

    #include "petscsys.h"
    PetscErrorCode  PetscLogEventGetId(const char name[], PetscLogEvent *event)

Not Collective

### Input Parameter

name -The event name

### Output Parameter

event -The event

### See Also

PetscLogEventBegin(), PetscLogEventEnd(), PetscLogStageGetId()

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