Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

SMUCSensorBase.h 796 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * SMUCSensorBase.h
 *
 *  Created on: Jul 22, 2019
 *      Author: carla
 */

#ifndef ANALYTICS_ANALYZERS_SMUCNGPERFANALYZER_SMUCSENSORBASE_H_
#define ANALYTICS_ANALYZERS_SMUCNGPERFANALYZER_SMUCSENSORBASE_H_

#include "sensorbase.h"

class SMUCSensorBase : public SensorBase {
public:
	enum Metrics {
		INSTRUCTIONS,
17
18
		CLOCKS,
		CLOCKS_REF
19
20
	};
public:
21
	SMUCSensorBase(const std::string& name): SensorBase(name), _scaling_factor(1){}
22
	virtual ~SMUCSensorBase(){}
23
24
25
26
27
28
29
30
31
32
33

	unsigned int getScalingFactor() const {
		return _scaling_factor;
	}

	void setScalingFactor(unsigned int scalingFactor) {
		_scaling_factor = scalingFactor;
	}

private:
	unsigned int _scaling_factor;
34
35
36
37
38
};

using SMUCNGPtr = std::shared_ptr<SMUCSensorBase>;

#endif /* ANALYTICS_ANALYZERS_SMUCNGPERFANALYZER_SMUCSENSORBASE_H_ */