PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
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: