ClassRegLogGetClass

This function returns the class corresponding to a given cookie.

Synopsis

#include "petsc.h"   
int ClassRegLogGetClass(ClassRegLog classLog, int cookie, int *oclass)
Not Collective

Input Parameters

classLog - The ClassRegLog
cookie - The cookie

Output Parameter

oclass -The class id

Keywords

log, class, register

See Also

PetscLogClassRegister(), PetscLogObjCreateDefault(), PetscLogObjDestroyDefault()

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