| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 module metrics.mojom; | 5 module metrics.mojom; |
| 6 | 6 |
| 7 import "mojo/common/common_custom_types.mojom"; | 7 import "mojo/common/file_path.mojom"; |
| 8 import "mojo/common/time.mojom"; |
| 8 | 9 |
| 9 // These structs mirror the corresponding types in base::StackSamplingProfiler. | 10 // These structs mirror the corresponding types in base::StackSamplingProfiler. |
| 10 | 11 |
| 11 struct CallStackModule { | 12 struct CallStackModule { |
| 12 uint64 base_address; | 13 uint64 base_address; |
| 13 string id; | 14 string id; |
| 14 mojo.common.mojom.FilePath filename; | 15 mojo.common.mojom.FilePath filename; |
| 15 }; | 16 }; |
| 16 | 17 |
| 17 struct CallStackFrame { | 18 struct CallStackFrame { |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 Thread thread; | 78 Thread thread; |
| 78 Trigger trigger; | 79 Trigger trigger; |
| 79 SampleOrderingSpec ordering_spec; | 80 SampleOrderingSpec ordering_spec; |
| 80 }; | 81 }; |
| 81 | 82 |
| 82 interface CallStackProfileCollector { | 83 interface CallStackProfileCollector { |
| 83 Collect(CallStackProfileParams params, | 84 Collect(CallStackProfileParams params, |
| 84 mojo.common.mojom.TimeTicks start_timestamp, | 85 mojo.common.mojom.TimeTicks start_timestamp, |
| 85 array<CallStackProfile> profiles); | 86 array<CallStackProfile> profiles); |
| 86 }; | 87 }; |
| OLD | NEW |