Program Listing for File execution_metrics_data.hpp

Return to documentation for file (cosm/ta/metrics/execution_metrics_data.hpp)

#pragma once

/*******************************************************************************
 * Includes
 ******************************************************************************/
#include "rcppsw/metrics/base_data.hpp"
#include "rcppsw/al/multithread.hpp"

/*******************************************************************************
 * Namespaces/Decls
 ******************************************************************************/
namespace cosm::ta::metrics {

/*******************************************************************************
 * Class Definitions
 ******************************************************************************/
struct execution_metrics_data_impl {
  ral::mt_size_t complete_count{0};

  ral::mt_size_t abort_count{0};

  ral::mt_size_t interface_count{0};

  ral::mt_size_t exec_time{};

  ral::mt_size_t interface_time{0};

  ral::mt_size_t exec_estimate{0};
  ral::mt_size_t interface_estimate{0};
};

struct execution_metrics_data : public rmetrics::base_data {
  execution_metrics_data_impl interval{};
  execution_metrics_data_impl cum{};
};

} /* namespace cosm::ta::metrics */