Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
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"
17
18namespace measurements {
19
20enum class Type : unsigned {
21 ROOT = 1, OVERALL = 2, INIT = 4, FINALIZE = 8, MAIN = 16, AUXILIARY = 32, PREPROCESS = 64, ALGORITHM = 128
22};
23
24std::string to_string ( Type );
25Type measurementTypeFromString ( const std::string & );
26std::ostream & operator <<( std::ostream &, Type );
27}
28
Definition: StealthAllocator.hpp:16
Type measurementTypeFromString(const std::string &ts)
Definition: MeasurementTypes.cpp:44
std::ostream & operator<<(std::ostream &os, const CounterDataFrame &cdf)
Definition: CounterDataFrame.cpp:61
std::string to_string(const stealth_string &ss)
Definition: StealthTypes.cpp:13
Type
Definition: MeasurementTypes.hpp:20