PetscLogClassGetClassId#
Returns the PetscClassId when given the class name.
Synopsis#
#include "petscsys.h"
PetscErrorCode PetscLogClassGetClassId(const char name[], PetscClassId *classid)
Not Collective
Input Parameter#
name - The class name
Output Parameter#
classid - The
PetscClassIdid, or -1 if no class with that name exists
See Also#
Profiling, PetscLogEventBegin(), PetscLogEventEnd(), PetscLogStageGetId()
Level#
intermediate
Location#
Index of all Profiling routines
Table of Contents for all manual pages
Index of all manual pages