Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
alib2measure
src
measurements
MeasurementTypes.hpp
Go to the documentation of this file.
1
6
/*
7
* Author: Radovan Cerveny
8
*/
9
10
#pragma once
11
12
#include <memory>
13
#include <vector>
14
#include <map>
15
#include "
MeasurementNew.hpp
"
16
#include <
allocator/StealthTypes.hpp
>
17
18
namespace
measurements
{
19
20
enum class
Type
: unsigned {
21
ROOT
= 1,
OVERALL
= 2,
INIT
= 4,
FINALIZE
= 8,
MAIN
= 16,
AUXILIARY
= 32,
PREPROCESS
= 64,
ALGORITHM
= 128
22
};
23
24
std::string
to_string
(
Type
);
25
Type
measurementTypeFromString
(
const
std::string & );
26
std::ostream &
operator <<
( std::ostream &,
Type
);
27
}
28
MeasurementNew.hpp
StealthTypes.hpp
measurements
Definition:
StealthAllocator.hpp:16
measurements::measurementTypeFromString
Type measurementTypeFromString(const std::string &ts)
Definition:
MeasurementTypes.cpp:44
measurements::operator<<
std::ostream & operator<<(std::ostream &os, const CounterDataFrame &cdf)
Definition:
CounterDataFrame.cpp:61
measurements::to_string
std::string to_string(const stealth_string &ss)
Definition:
StealthTypes.cpp:13
measurements::Type
Type
Definition:
MeasurementTypes.hpp:20
measurements::Type::MAIN
@ MAIN
measurements::Type::AUXILIARY
@ AUXILIARY
measurements::Type::OVERALL
@ OVERALL
measurements::Type::FINALIZE
@ FINALIZE
measurements::Type::ALGORITHM
@ ALGORITHM
measurements::Type::PREPROCESS
@ PREPROCESS
measurements::Type::ROOT
@ ROOT
measurements::Type::INIT
@ INIT
Generated on Mon Dec 27 2021 10:21:54 for Algorithms Library Toolkit by
1.9.2