OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef BASE_TRACE_EVENT_PROCESS_MEMORY_TOTALS_H_ | 5 #ifndef BASE_TRACE_EVENT_PROCESS_MEMORY_TOTALS_H_ |
6 #define BASE_TRACE_EVENT_PROCESS_MEMORY_TOTALS_H_ | 6 #define BASE_TRACE_EVENT_PROCESS_MEMORY_TOTALS_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 | 11 |
10 #include "base/base_export.h" | 12 #include "base/base_export.h" |
11 #include "base/basictypes.h" | 13 #include "base/macros.h" |
12 | 14 |
13 namespace base { | 15 namespace base { |
14 namespace trace_event { | 16 namespace trace_event { |
15 | 17 |
16 class TracedValue; | 18 class TracedValue; |
17 | 19 |
18 // Data model for process-wide memory stats. | 20 // Data model for process-wide memory stats. |
19 class BASE_EXPORT ProcessMemoryTotals { | 21 class BASE_EXPORT ProcessMemoryTotals { |
20 public: | 22 public: |
21 ProcessMemoryTotals(); | 23 ProcessMemoryTotals(); |
(...skipping 30 matching lines...) Expand all Loading... |
52 // Extra metrics for OS-specific statistics. | 54 // Extra metrics for OS-specific statistics. |
53 std::map<const char*, uint64_t> extra_fields_; | 55 std::map<const char*, uint64_t> extra_fields_; |
54 | 56 |
55 DISALLOW_COPY_AND_ASSIGN(ProcessMemoryTotals); | 57 DISALLOW_COPY_AND_ASSIGN(ProcessMemoryTotals); |
56 }; | 58 }; |
57 | 59 |
58 } // namespace trace_event | 60 } // namespace trace_event |
59 } // namespace base | 61 } // namespace base |
60 | 62 |
61 #endif // BASE_TRACE_EVENT_PROCESS_MEMORY_TOTALS_H_ | 63 #endif // BASE_TRACE_EVENT_PROCESS_MEMORY_TOTALS_H_ |
OLD | NEW |