05.03., 9:00 - 11:00: Due to updates GitLab will be unavailable for some minutes between 09:00 and 11:00.

Commit cc3feb99 authored by Carla Guillen's avatar Carla Guillen

Fixing small bugs

parent c8385d32
......@@ -92,8 +92,9 @@ SMUCNGPerfOperator::SMUCNGPerfOperator(const std::string& name): OperatorTemplat
_profileMetricToMetricIds[SMUCSensorBase::IO_BYTES_READ_PER_OP_PROF] = {SMUCSensorBase::IOBYTESREAD, SMUCSensorBase::IOREADS};
_profileMetricToMetricIds[SMUCSensorBase::IO_BYTES_WRITE_PER_OP_PROF] = {SMUCSensorBase::IOBYTESWRITE, SMUCSensorBase::IOWRITES};
_flop_metric = {SMUCSensorBase::FLOPS, SMUCSensorBase::PACKED_FLOPS, SMUCSensorBase::AVX512_TOVECTORIZED_RATIO,
SMUCSensorBase::VECTORIZATION_RATIO, SMUCSensorBase::SINGLE_PRECISION_TO_TOTAL_RATIO};
_flop_metric = {SMUCSensorBase::FLOPS, SMUCSensorBase::PACKED_FLOPS, SMUCSensorBase::AVX512_TOVECTORIZED_RATIO, SMUCSensorBase::VECTORIZATION_RATIO,
SMUCSensorBase::SINGLE_PRECISION_TO_TOTAL_RATIO, SMUCSensorBase::PACKED128_FLOPS, SMUCSensorBase::PACKED256_FLOPS, SMUCSensorBase::PACKED512_FLOPS,
SMUCSensorBase::SINGLE_PRECISION_FLOPS,SMUCSensorBase::DOUBLE_PRECISION_FLOPS};
}
SMUCNGPerfOperator::~SMUCNGPerfOperator() {
......@@ -115,6 +116,9 @@ void SMUCNGPerfOperator::copy(const SMUCNGPerfOperator& other){
this->_measuring_interval_s = other._measuring_interval_s;
this->_go_back_ns = other._go_back_ns;
this->_metricPerSecToId = other._metricPerSecToId;
this->_metricRatioToPair = other._metricRatioToPair;
this->_profileMetricToMetricIds = other._profileMetricToMetricIds;
this->_flop_metric = other._flop_metric;
}
void SMUCNGPerfOperator::printConfig(LOG_LEVEL ll) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment