18 #ifndef itkResourceProbesCollectorBase_h
19 #define itkResourceProbesCollectorBase_h
37 template<
typename TProbe >
42 using MapType = std::map< IdType, TProbe >;
49 virtual void Start(
const char *name);
52 virtual void Stop(
const char *name);
55 virtual void Report(std::ostream & os = std::cout,
bool printSystemInfo =
true,
56 bool printReportHead =
true,
bool useTabs =
false);
59 virtual void Report(
const char *name, std::ostream & os = std::cout,
60 bool printSystemInfo =
true,
bool printReportHead =
true,
61 bool useTabs =
false);
64 virtual void ExpandedReport(std::ostream & os = std::cout,
bool printSystemInfo =
true,
65 bool printReportHead =
true,
bool useTabs =
false);
68 virtual void ExpandedReport(
const char *name, std::ostream & os = std::cout,
69 bool printSystemInfo =
true,
bool printReportHead =
true,
bool useTabs =
false);
72 virtual void JSONReport(std::ostream & os = std::cout,
bool printSystemInfo =
true);
75 virtual void JSONReport(
const char *name, std::ostream & os = std::cout);
84 const TProbe & GetProbe(
const char*name)
const;
92 #ifndef ITK_MANUAL_INSTANTIATION
93 #include "itkResourceProbesCollectorBase.hxx"
96 #endif //itkResourceProbesCollectorBase_h
Aggregates a set of probes.
std::map< IdType, MemoryProbe > MapType