PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
Public Member Functions | Private Attributes | List of all members
pism::Profiling Class Reference

#include <Profiling.hh>

Public Member Functions

 Profiling ()
 
void start () const
 Enable PETSc logging. More...
 
void report (const std::string &filename) const
 Save detailed profiling data to a Python script. More...
 
void begin (const char *name) const
 
void end (const char *name) const
 
void stage_begin (const char *name) const
 
void stage_end (const char *name) const
 

Private Attributes

PetscClassId m_classid
 
std::map< std::string, PetscLogEvent > m_events
 
std::map< std::string, PetscLogStage > m_stages
 

Detailed Description

Definition at line 29 of file Profiling.hh.


The documentation for this class was generated from the following files: