OLD | NEW |
(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_ |
OLD | NEW |