OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Common IPC messages used for child processes. | 5 // Common IPC messages used for child processes. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 23 matching lines...) Expand all Loading... |
34 tracked_objects::ThreadData::STATUS_LAST) | 34 tracked_objects::ThreadData::STATUS_LAST) |
35 | 35 |
36 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::LocationSnapshot) | 36 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::LocationSnapshot) |
37 IPC_STRUCT_TRAITS_MEMBER(file_name) | 37 IPC_STRUCT_TRAITS_MEMBER(file_name) |
38 IPC_STRUCT_TRAITS_MEMBER(function_name) | 38 IPC_STRUCT_TRAITS_MEMBER(function_name) |
39 IPC_STRUCT_TRAITS_MEMBER(line_number) | 39 IPC_STRUCT_TRAITS_MEMBER(line_number) |
40 IPC_STRUCT_TRAITS_END() | 40 IPC_STRUCT_TRAITS_END() |
41 | 41 |
42 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::BirthOnThreadSnapshot) | 42 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::BirthOnThreadSnapshot) |
43 IPC_STRUCT_TRAITS_MEMBER(location) | 43 IPC_STRUCT_TRAITS_MEMBER(location) |
44 IPC_STRUCT_TRAITS_MEMBER(thread_name) | 44 IPC_STRUCT_TRAITS_MEMBER(sanitized_thread_name) |
45 IPC_STRUCT_TRAITS_END() | 45 IPC_STRUCT_TRAITS_END() |
46 | 46 |
47 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::DeathDataSnapshot) | 47 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::DeathDataSnapshot) |
48 IPC_STRUCT_TRAITS_MEMBER(count) | 48 IPC_STRUCT_TRAITS_MEMBER(count) |
49 IPC_STRUCT_TRAITS_MEMBER(run_duration_sum) | 49 IPC_STRUCT_TRAITS_MEMBER(run_duration_sum) |
50 IPC_STRUCT_TRAITS_MEMBER(run_duration_max) | 50 IPC_STRUCT_TRAITS_MEMBER(run_duration_max) |
51 IPC_STRUCT_TRAITS_MEMBER(run_duration_sample) | 51 IPC_STRUCT_TRAITS_MEMBER(run_duration_sample) |
52 IPC_STRUCT_TRAITS_MEMBER(queue_duration_sum) | 52 IPC_STRUCT_TRAITS_MEMBER(queue_duration_sum) |
53 IPC_STRUCT_TRAITS_MEMBER(queue_duration_max) | 53 IPC_STRUCT_TRAITS_MEMBER(queue_duration_max) |
54 IPC_STRUCT_TRAITS_MEMBER(queue_duration_sample) | 54 IPC_STRUCT_TRAITS_MEMBER(queue_duration_sample) |
55 IPC_STRUCT_TRAITS_MEMBER(alloc_ops) | 55 IPC_STRUCT_TRAITS_MEMBER(alloc_ops) |
56 IPC_STRUCT_TRAITS_MEMBER(free_ops) | 56 IPC_STRUCT_TRAITS_MEMBER(free_ops) |
57 IPC_STRUCT_TRAITS_MEMBER(allocated_bytes) | 57 IPC_STRUCT_TRAITS_MEMBER(allocated_bytes) |
58 IPC_STRUCT_TRAITS_MEMBER(freed_bytes) | 58 IPC_STRUCT_TRAITS_MEMBER(freed_bytes) |
59 IPC_STRUCT_TRAITS_MEMBER(alloc_overhead_bytes) | 59 IPC_STRUCT_TRAITS_MEMBER(alloc_overhead_bytes) |
60 IPC_STRUCT_TRAITS_MEMBER(max_allocated_bytes) | 60 IPC_STRUCT_TRAITS_MEMBER(max_allocated_bytes) |
61 IPC_STRUCT_TRAITS_END() | 61 IPC_STRUCT_TRAITS_END() |
62 | 62 |
63 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::TaskSnapshot) | 63 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::TaskSnapshot) |
64 IPC_STRUCT_TRAITS_MEMBER(birth) | 64 IPC_STRUCT_TRAITS_MEMBER(birth) |
65 IPC_STRUCT_TRAITS_MEMBER(death_data) | 65 IPC_STRUCT_TRAITS_MEMBER(death_data) |
66 IPC_STRUCT_TRAITS_MEMBER(death_thread_name) | 66 IPC_STRUCT_TRAITS_MEMBER(death_sanitized_thread_name) |
67 IPC_STRUCT_TRAITS_END() | 67 IPC_STRUCT_TRAITS_END() |
68 | 68 |
69 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::ProcessDataPhaseSnapshot) | 69 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::ProcessDataPhaseSnapshot) |
70 IPC_STRUCT_TRAITS_MEMBER(tasks) | 70 IPC_STRUCT_TRAITS_MEMBER(tasks) |
71 IPC_STRUCT_TRAITS_END() | 71 IPC_STRUCT_TRAITS_END() |
72 | 72 |
73 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::ProcessDataSnapshot) | 73 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::ProcessDataSnapshot) |
74 IPC_STRUCT_TRAITS_MEMBER(phased_snapshots) | 74 IPC_STRUCT_TRAITS_MEMBER(phased_snapshots) |
75 IPC_STRUCT_TRAITS_MEMBER(process_id) | 75 IPC_STRUCT_TRAITS_MEMBER(process_id) |
76 IPC_STRUCT_TRAITS_END() | 76 IPC_STRUCT_TRAITS_END() |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_DeletedGpuMemoryBuffer, | 209 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_DeletedGpuMemoryBuffer, |
210 gfx::GpuMemoryBufferId, | 210 gfx::GpuMemoryBufferId, |
211 gpu::SyncToken /* sync_token */) | 211 gpu::SyncToken /* sync_token */) |
212 | 212 |
213 #if defined(OS_LINUX) | 213 #if defined(OS_LINUX) |
214 // Asks the browser to change the priority of thread. | 214 // Asks the browser to change the priority of thread. |
215 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_SetThreadPriority, | 215 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_SetThreadPriority, |
216 base::PlatformThreadId, | 216 base::PlatformThreadId, |
217 base::ThreadPriority) | 217 base::ThreadPriority) |
218 #endif | 218 #endif |
OLD | NEW |