void PLogFlops(int f)
int USER_EVENT; PLogEventRegister(&USER_EVENT,"User event","Color:"); PLogEventBegin(USER_EVENT,0,0,0,0); [code segment to monitor] PLogFlops(user_flops) PLogEventEnd(USER_EVENT,0,0,0,0);
PETSc automatically logs library events if the code has been compiled with -DPETSC_USE_LOG (which is the default), and -log, -log_summary, or -log_all are specified. PLogFlops() is intended for logging user flops to supplement this PETSc information.
Level:intermediate
Location:src/sys/src/plog/plog.c
Logging Index
Table of Contents