Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: services/blamer/heap_object_types.h

Issue 2885363004: [Hacky prototype] Create a shared-memory high-performance reporting service.
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef SERVICES_BLAMER_HEAP_OBJECT_TYPES_H_
6 #define SERVICES_BLAMER_HEAP_OBJECT_TYPES_H_
7
8 namespace blamer {
9
10 // An enumeration of all object types allowed to be used with a
11 // SharedMemoryHeap. Definitions of these objects are found in the heap_objects
12 // directory.
13 enum HeapObjectType : uint32_t {
14 // A special object type used to indicate freed memory that is to be reused.
15 FREED,
16
17 // A blame node object describes a blame node, its parents, its equivalences,
18 // etc. The collection of all blame nodes implicitly describes the entire
19 // tree.
20 BLAME_NODE,
21
22 // A blame data object houses actual aggregation of resource consumption data
23 // that can be attributed to a blame node and its associated tree.
24 BLAME_DATA,
25 };
26
27 } // namespace blamer
28
29 #endif // SERVICES_BLAMER_HEAP_OBJECT_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698