Proteus
Programmable JIT compilation and optimization for C/C++ using LLVM
Loading...
Searching...
No Matches
TimeTracingInit.h
Go to the documentation of this file.
1//===-- TimeTracingInit.h -- Time tracing initialization --------*- C++ -*-===//
2//
3// Part of the Proteus Project, under the Apache License v2.0 with LLVM
4// Exceptions. See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef PROTEUS_TIME_TRACING_INIT_H
10#define PROTEUS_TIME_TRACING_INIT_H
11
12#include <string>
13
14namespace proteus {
15
17public:
18 TimeTracerRAII(bool Enable, std::string OutputFile, int GranularityUs);
20
21 TimeTracerRAII(const TimeTracerRAII &) = delete;
23
24private:
25 bool Enabled = false;
26 std::string OutputFile;
27};
28
30public:
33
36
37private:
38 bool Enabled = false;
39};
40
41} // namespace proteus
42
43#endif
Definition TimeTracingInit.h:29
TimeTraceThreadRAII()
Definition TimeTracing.cpp:49
TimeTraceThreadRAII & operator=(const TimeTraceThreadRAII &)=delete
~TimeTraceThreadRAII()
Definition TimeTracing.cpp:56
TimeTraceThreadRAII(const TimeTraceThreadRAII &)=delete
Definition TimeTracingInit.h:16
TimeTracerRAII & operator=(const TimeTracerRAII &)=delete
TimeTracerRAII(const TimeTracerRAII &)=delete
~TimeTracerRAII()
Definition TimeTracing.cpp:38
Definition MemoryCache.h:27