forked from microsoft/arcana.cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtrace_region.h
More file actions
44 lines (35 loc) · 875 Bytes
/
trace_region.h
File metadata and controls
44 lines (35 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
#pragma once
namespace arcana
{
enum class trace_level
{
mark,
log,
};
// TODO: https://developer.android.com/topic/performance/tracing/custom-events-native
// https://developer.android.com/ndk/reference/group/tracing
class trace_region final
{
public:
trace_region() = delete;
trace_region(const trace_region&) = delete;
trace_region& operator=(const trace_region&) = delete;
trace_region(const char*)
{
}
trace_region(trace_region&&) = default;
~trace_region()
{
}
trace_region& operator=(trace_region&&) = default;
static void enable(trace_level = trace_level::mark)
{
}
static void disable()
{
}
};
}