18 #ifndef itkResourceProbe_h
19 #define itkResourceProbe_h
27 #include "ITKCommonExport.h"
42 template <
typename ValueType,
typename MeanType>
79 GetNumberOfStarts()
const;
83 GetNumberOfStops()
const;
87 GetNumberOfIteration()
const;
92 GetInstantValue()
const = 0;
122 GetStandardDeviation();
131 SetNameOfProbe(
const char * nameOfProbe);
135 GetNameOfProbe()
const;
139 PrintSystemInformation(std::ostream & os = std::cout);
143 Report(std::ostream & os = std::cout,
bool printSystemInfo =
true,
bool printReportHead =
true,
bool useTabs =
false);
147 ExpandedReport(std::ostream & os = std::cout,
148 bool printSystemInfo =
true,
149 bool printReportHead =
true,
150 bool useTabs =
false);
154 JSONReport(std::ostream & os = std::cout);
158 PrintJSONSystemInformation(std::ostream & os = std::cout);
163 UpdateMinimumMaximumMeasuredValue(ValueType value);
167 PrintReportHead(std::ostream & os = std::cout,
bool useTabs =
false);
171 PrintExpandedReportHead(std::ostream & os = std::cout,
bool useTabs =
false);
174 template <
typename T>
176 PrintJSONvar(std::ostream & os,
const char * varName, T varValue,
unsigned indent = 4,
bool comma =
true);
179 itkLegacyMacro(
virtual void GetSystemInformation());
199 static constexpr
unsigned int tabwidth = 15;
203 #ifndef ITK_MANUAL_INSTANTIATION
204 # include "itkResourceProbe.hxx"
207 #endif // itkResourceProbe_h