20 #ifndef PISM_PROFILING_HH
21 #define PISM_PROFILING_HH
33 void report(
const std::string &filename)
const;
34 void begin(
const char *name)
const;
35 void end(
const char *name)
const;
40 mutable std::map<std::string, PetscLogEvent>
m_events;
41 mutable std::map<std::string, PetscLogStage>
m_stages;
void begin(const char *name) const
std::map< std::string, PetscLogEvent > m_events
void report(const std::string &filename) const
Save detailed profiling data to a Python script.
void end(const char *name) const
void start() const
Enable PETSc logging.
void stage_end(const char *name) const
void stage_begin(const char *name) const
std::map< std::string, PetscLogStage > m_stages