DiSMEC++
stat_id.h
Go to the documentation of this file.
1 // Copyright (c) 2021, Aalto University, developed by Erik Schultheis
2 // All rights reserved.
3 //
4 // SPDX-License-Identifier: MIT
5 
6 #ifndef DISMEC_STATS_STAT_ID_H
7 #define DISMEC_STATS_STAT_ID_H
8 
9 #include <cstdint>
10 #include <string>
11 #include "utils/opaque_int.h"
12 
13 namespace dismec::stats {
14  namespace detail {
16  struct stat_id_tag;
18  struct tag_id_tag;
19  }
20 
29 
34  std::string Name;
35  std::string Unit = {};
36  };
37 }
38 
39 #endif //DISMEC_STATS_STAT_ID_H
Data that is associated with each declared statistics.
Definition: stat_id.h:33
std::string Unit
The unit in which the data points will be supplied. What you would put on the x-axis when plotting a ...
Definition: stat_id.h:35
std::string Name
The name of the stat. This is how it will be identified.
Definition: stat_id.h:34