PLogTraceBegin

Activates trace logging. Every time a PETSc event begins or ends, the event name is printed.

Synopsis

int PLogTraceBegin(FILE *file)
Not Collective

Input Parameter

file -file to print trace in (e.g. stdout)

Options Database Key

-log_trace [filename] -Activates PLogTraceBegin()

Notes

PLogTraceBegin() prints the processor number, the execution time (sec), then "Event begin:" or "Event end:" followed by the event name.

PLogTraceBegin() allows tracing of all PETSc calls, which is usefulto determine where a program is hanging without running in thedebugger. Can be used in conjunction with the -log_info option.

See Also

PLogDump(), PLogAllBegin(), PLogPrintSummary(), PLogBegin()

Location: src/plog/src/plog.c
Logging Index
Table of Contents