bactria  0.0.1
The bactria library is a header-only C++14 library for profiling and tracing.
Tags.hpp
Go to the documentation of this file.
1 /* Copyright 2021 Jan Stephan
2  *
3  * Licensed under the EUPL, Version 1.2 or - as soon they will be approved by
4  * the European Commission - subsequent versions of the EUPL (the “Licence”).
5  * You may not use this work except in compliance with the Licence.
6  * You may obtain a copy of the Licence at:
7  *
8  * http://ec.europa.eu/idabc/eupl.html
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the Licence is distributed on an “AS IS” basis, WITHOUT
12  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13  * Licence permissions and limitations under the Licence.
14  */
15 
24 #pragma once
25 
26 namespace bactria
27 {
28  namespace metrics
29  {
36  struct Generic
37  {
43  static constexpr auto value = 1u;
44  };
45 
52  struct Function
53  {
59  static constexpr auto value = 2u;
60  };
61 
69  struct Loop
70  {
76  static constexpr auto value = 3u;
77  };
78 
87  struct Body
88  {
94  static constexpr auto value = 4u;
95  };
96  } // namespace metrics
97 } // namespace bactria
bactria::metrics::Loop
The loop tag.
Definition: Tags.hpp:69
bactria::metrics::Function::value
static constexpr auto value
Definition: Tags.hpp:59
bactria::metrics::Generic
The generic tag.
Definition: Tags.hpp:36
bactria::metrics::Body::value
static constexpr auto value
Definition: Tags.hpp:94
bactria::metrics::Body
The body tag.
Definition: Tags.hpp:87
bactria::metrics::Function
The function tag.
Definition: Tags.hpp:52
bactria::metrics::Loop::value
static constexpr auto value
Definition: Tags.hpp:76
bactria::metrics::Generic::value
static constexpr auto value
Definition: Tags.hpp:43