MatCreateTimer

Creates a matrix that behaves like original but logs all MatMult operations

Synopsis

PetscErrorCode MatCreateTimer(Mat A, Mat *B)
Collective

Input Parameters

A - original matrix

Output Parameters

B - matrix A that logs MatMult operations

See Also

MatTimerSetOperation(), MatTimerGetMat()

Level

developer

Location

src/mat/impls/timer/mattimer.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages