PetscBenchRegister#

Adds a benchmark test, PetscBenchType, to the PetscBench package

Synopsis#

#include "petscbm.h"   
PetscErrorCode PetscBenchRegister(const char sname[], PetscErrorCode (*function)(PetscBench))

Not Collective, No Fortran Support

Input Parameters#

  • sname - name of a new benchmark

  • function - routine to create benchmark

Note#

PetscBenchRegister() may be called multiple times

See Also#

PetscBenchInitializePackage(), PetscBenchCreate(), PetscBench, PetscBenchType, PetscBenchSetType(), PetscBenchGetType()

Level#

advanced

Location#

src/sys/classes/bm/interfaces/bm.c


Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages