18 #ifndef itkResourceProbe_h 19 #define itkResourceProbe_h 27 #include "ITKCommonExport.h" 42 template<
typename ValueType,
typename MeanType >
60 std::string GetType()
const;
63 std::string GetUnit()
const;
76 CountType GetNumberOfStarts()
const;
79 CountType GetNumberOfStops()
const;
82 CountType GetNumberOfIteration()
const;
86 virtual ValueType GetInstantValue(
void)
const = 0;
90 virtual ValueType GetTotal()
const;
95 virtual MeanType GetMean()
const;
102 virtual ValueType GetMinimum()
const;
106 virtual ValueType GetMaximum()
const;
110 virtual ValueType GetStandardDeviation();
113 virtual void SetNameOfProbe(
const char* nameOfProbe);
116 virtual std::string GetNameOfProbe()
const;
119 virtual void PrintSystemInformation(std::ostream & os = std::cout);
122 virtual void Report(std::ostream & os =std::cout,
bool printSystemInfo =
true,
123 bool printReportHead =
true);
126 virtual void ExpandedReport(std::ostream & os =std::cout,
bool printSystemInfo =
true,
127 bool printReportHead =
true);
131 virtual void UpdateMinimumMaximumMeasuredValue(ValueType value);
134 virtual void PrintReportHead(std::ostream & os =std::cout);
137 virtual void PrintExpandedReportHead(std::ostream & os =std::cout);
140 virtual void GetSystemInformation();
179 static ITK_CONSTEXPR
unsigned int tabwidth = 15;
183 #ifndef ITK_MANUAL_INSTANTIATION 184 #include "itkResourceProbe.hxx" 187 #endif //itkResourceProbe_h unsigned int m_NumberOfAvailableCore
std::string m_ProcessorName
vcl_size_t m_AvailablePhysicalMemory
float m_ProcessorClockFrequency
ValueType m_StandardDeviation
*brief Mask an image with the negative of a mask **This class is templated over the types of the *input image type
CountType m_NumberOfStops
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
vcl_size_t m_AvailableVirtualMemory
unsigned long SizeValueType
vcl_size_t m_TotalVirtualMemory
unsigned int m_NumberOfLogicalCPU
vcl_size_t m_TotalPhysicalMemory
std::string m_NameOfProbe
unsigned int m_NumberOfPhysicalCPU
CountType m_NumberOfIteration
CountType m_NumberOfStarts
std::vector< ValueType > m_ProbeValueList
Computes the change of a value between two points in code.