petsc-dev 2014-07-31
Report Typos and Errors

PetscTimeAdd

Adds the current time of day (in seconds) to the value v.

Synopsis

#include 
PetscTimeAdd(PetscLogDouble *v)
Not Collective

Input Parameter

v -time counter

Output Parameter

v -time counter (v = v + current time)

Notes

Since the PETSc libraries incorporate timing of phases and operations, we do not ever recommend using PetscTimeAdd(). The options database command -log_summary activate PETSc library timing. See Users-Manual: Chapter 12 Profiling for more details.

See Also

PetscTime(), PetscTimeSubtract(), PetscLogStageRegister(), PetscLogEventRegister(), PetscLogEventBegin(), PetscLogEventEnd()

Keywords

Petsc, time, add

Level:developer
Location:
src/sys/time/../../../include/petsctime.h
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages