OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 struct ResourceUsageData { |
| 6 bool reports_v8_stats = false; |
| 7 uint64 v8_bytes_allocated = 0; |
| 8 uint64 v8_bytes_used = 0; |
| 9 |
| 10 // TODO(amistry): Consider using this for the renderer process. |
| 11 }; |
| 12 |
| 13 interface ResourceUsageReporter { |
| 14 // NOTE: For utility processes, this only reports V8 memory used by the proxy |
| 15 // resolver. |
| 16 GetUsageData() => (ResourceUsageData data); |
| 17 }; |
OLD | NEW |