Skip to content
Snippets Groups Projects

Saving counters result as monitoring histogram

Merged Valerii Kholoimov requested to merge dev_kholoimov_monitoring_counters_histogram into master
2 files
+ 10
0
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -87,6 +87,14 @@ namespace Allen::Monitoring {
void updateBin(int bin_index, float value) { m_bins[bin_index + 1] = value; }
void resetHistogram()
{
m_bins = std::vector<float>(2, 0.f);
m_labels = std::vector<std::string>();
m_minValue = 0;
m_maxValue = 0;
}
std::string m_title;
std::vector<float> m_bins;
int m_minValue = 0;
Loading