33 std::chrono::system_clock::time_point
endTime_;
54 const
std::chrono::system_clock::time_point&
startTime() const noexcept;
62 const
std::chrono::system_clock::time_point&
endTime() const noexcept;
MetricsSource::SourceInterests sourceInterests() const noexcept
Returns the source interests.
std::chrono::system_clock::time_point startTime_
Time of earlier metrics.
std::shared_ptr< std::vector< MetricsSource::Interests > > SourceInterests
Type used to store and share interests of multiple sources.
void computeDiff(MetricsArray< DataValueType > ¤t, MetricsArray< DataValueType > &previous, double factor) noexcept
Compute and store the differences between two Metrics Data Arrays.
Generic class to store and manage metrics.
const std::chrono::system_clock::time_point & endTime() const noexcept
Get time of latest metrics.
const std::chrono::system_clock::time_point & startTime() const noexcept
Get time of earlier metrics.
int64_t DataValueType
Type of fetched raw metrics.
std::chrono::system_clock::time_point endTime_
Time of latest metrics.
Class to compute and store metric values variations.
MetricsDiffArray() noexcept
Construct a new Metrics Diff Array object.