Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(654)

Side by Side Diff: content/common/child_process_messages.h

Issue 2386123003: Add heap allocator usage to task profiler. (Closed)
Patch Set: Fix remaining clang compile errors. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 IPC_STRUCT_TRAITS_END() 46 IPC_STRUCT_TRAITS_END()
47 47
48 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::DeathDataSnapshot) 48 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::DeathDataSnapshot)
49 IPC_STRUCT_TRAITS_MEMBER(count) 49 IPC_STRUCT_TRAITS_MEMBER(count)
50 IPC_STRUCT_TRAITS_MEMBER(run_duration_sum) 50 IPC_STRUCT_TRAITS_MEMBER(run_duration_sum)
51 IPC_STRUCT_TRAITS_MEMBER(run_duration_max) 51 IPC_STRUCT_TRAITS_MEMBER(run_duration_max)
52 IPC_STRUCT_TRAITS_MEMBER(run_duration_sample) 52 IPC_STRUCT_TRAITS_MEMBER(run_duration_sample)
53 IPC_STRUCT_TRAITS_MEMBER(queue_duration_sum) 53 IPC_STRUCT_TRAITS_MEMBER(queue_duration_sum)
54 IPC_STRUCT_TRAITS_MEMBER(queue_duration_max) 54 IPC_STRUCT_TRAITS_MEMBER(queue_duration_max)
55 IPC_STRUCT_TRAITS_MEMBER(queue_duration_sample) 55 IPC_STRUCT_TRAITS_MEMBER(queue_duration_sample)
56 IPC_STRUCT_TRAITS_MEMBER(alloc_ops)
57 IPC_STRUCT_TRAITS_MEMBER(free_ops)
58 IPC_STRUCT_TRAITS_MEMBER(allocated_bytes)
59 IPC_STRUCT_TRAITS_MEMBER(freed_bytes)
60 IPC_STRUCT_TRAITS_MEMBER(alloc_overhead_bytes)
61 IPC_STRUCT_TRAITS_MEMBER(max_allocated_bytes)
56 IPC_STRUCT_TRAITS_END() 62 IPC_STRUCT_TRAITS_END()
57 63
58 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::TaskSnapshot) 64 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::TaskSnapshot)
59 IPC_STRUCT_TRAITS_MEMBER(birth) 65 IPC_STRUCT_TRAITS_MEMBER(birth)
60 IPC_STRUCT_TRAITS_MEMBER(death_data) 66 IPC_STRUCT_TRAITS_MEMBER(death_data)
61 IPC_STRUCT_TRAITS_MEMBER(death_thread_name) 67 IPC_STRUCT_TRAITS_MEMBER(death_thread_name)
62 IPC_STRUCT_TRAITS_END() 68 IPC_STRUCT_TRAITS_END()
63 69
64 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::ProcessDataPhaseSnapshot) 70 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::ProcessDataPhaseSnapshot)
65 IPC_STRUCT_TRAITS_MEMBER(tasks) 71 IPC_STRUCT_TRAITS_MEMBER(tasks)
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 // memory. 229 // memory.
224 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, 230 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory,
225 discardable_memory::DiscardableSharedMemoryId) 231 discardable_memory::DiscardableSharedMemoryId)
226 232
227 #if defined(OS_LINUX) 233 #if defined(OS_LINUX)
228 // Asks the browser to change the priority of thread. 234 // Asks the browser to change the priority of thread.
229 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_SetThreadPriority, 235 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_SetThreadPriority,
230 base::PlatformThreadId, 236 base::PlatformThreadId,
231 base::ThreadPriority) 237 base::ThreadPriority)
232 #endif 238 #endif
OLDNEW
« base/tracked_objects.cc ('K') | « chrome/browser/ui/webui/profiler_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698