Searched refs:process_type (Results 1 - 25 of 131) sorted by relevance

123456

/external/chromium_org/content/public/browser/
H A Dchild_process_data.h17 int process_type; member in struct:content::ChildProcessData
33 explicit ChildProcessData(int process_type) argument
34 : process_type(process_type), id(0), handle(base::kNullProcessHandle) {
H A Dprofiler_subscriber.h30 int process_type) = 0;
/external/chromium_org/components/crash/app/
H A Dbreakpad_linux.h17 extern void InitCrashReporter(const std::string& process_type);
22 const std::string& process_type);
H A Dbreakpad_mac.h15 void InitCrashReporter(const std::string& process_type);
/external/chromium_org/tools/perf/metrics/
H A Dcpu.py35 for process_type in cpu_stats:
36 trace_name_for_process = '%s_%s' % (trace_name, process_type.lower())
37 cpu_percent = 100 * cpu_stats[process_type]
60 for process_type in cpu_stats:
61 assert process_type in start_cpu_stats, 'Mismatching process types'
63 if (not cpu_stats[process_type]) or (not start_cpu_stats[process_type]):
65 cpu_process_time = (cpu_stats[process_type]['CpuProcessTime'] -
66 start_cpu_stats[process_type]['CpuProcessTime'])
67 total_time = (cpu_stats[process_type]['TotalTim
[all...]
H A Dsystem_memory.py100 for process_type in end_memory_stats:
101 memory_stats[process_type] = {}
102 end_process_memory = end_memory_stats[process_type]
108 if (process_type not in start_memory_stats or
109 not start_memory_stats[process_type]):
110 memory_stats[process_type] = end_process_memory
114 start_value = start_memory_stats[process_type] or 0
115 memory_stats[process_type] = end_process_memory - start_value
119 start_value = start_memory_stats[process_type][metric] or 0
121 memory_stats[process_type][metri
[all...]
H A Dpower.py130 for (process_type, stats) in self._results.get('cpu_stats', {}).items():
131 trace_name_for_process = 'idle_wakeups_%s' % (process_type.lower())
176 for process_type in cpu_stats:
177 assert process_type in start_cpu_stats, 'Mismatching process types'
179 if (not cpu_stats[process_type]) or (not start_cpu_stats[process_type]):
182 if (('IdleWakeupCount' not in cpu_stats[process_type]) or
183 ('IdleWakeupCount' not in start_cpu_stats[process_type])):
186 assert isinstance(cpu_stats[process_type]['IdleWakeupCount'],
188 idle_wakeup_delta = (cpu_stats[process_type]['IdleWakeupCoun
[all...]
/external/chromium_org/content/common/
H A Dsandbox_init_mac.cc39 std::string process_type =
41 if (process_type.empty()) {
44 } else if (process_type == switches::kRendererProcess) {
46 } else if (process_type == switches::kUtilityProcess) {
51 } else if (process_type == switches::kGpuProcess) {
55 } else if ((process_type == switches::kPluginProcess) ||
56 (process_type == switches::kPpapiBrokerProcess)) {
58 } else if (process_type == switches::kPpapiPluginProcess) {
/external/chromium_org/chrome/app/android/
H A Dchrome_main_delegate_android.cc25 const std::string& process_type) {
26 ChromeMainDelegate::SandboxInitialized(process_type);
30 const std::string& process_type,
33 if (process_type.empty()) {
51 return ChromeMainDelegate::RunProcess(process_type, main_function_params);
24 SandboxInitialized( const std::string& process_type) argument
29 RunProcess( const std::string& process_type, const content::MainFunctionParams& main_function_params) argument
H A Dchrome_main_delegate_android.h26 virtual void SandboxInitialized(const std::string& process_type) OVERRIDE;
29 const std::string& process_type,
/external/chromium_org/chrome/app/
H A Dchrome_main_delegate.cc167 static void AdjustLinuxOOMScore(const std::string& process_type) { argument
187 if (process_type == switches::kPluginProcess ||
188 process_type == switches::kPpapiPluginProcess) {
190 } else if (process_type == switches::kPpapiBrokerProcess) {
193 } else if (process_type == switches::kUtilityProcess ||
194 process_type == switches::kGpuProcess ||
195 process_type == switches::kServiceProcess) {
198 } else if (process_type == switches::kNaClLoaderProcess ||
199 process_type == switches::kNaClLoaderNonSfiProcess) {
202 } else if (process_type
224 SubprocessNeedsResourceBundle(const std::string& process_type) argument
316 std::string process_type = local
542 InitMacCrashReporter( const base::CommandLine& command_line, const std::string& process_type) argument
606 << switches::kUtilityProcess << ", saw " << process_type; local
611 << switches::kNaClLoaderProcess << ", saw " << process_type; local
640 std::string process_type = local
789 SandboxInitialized(const std::string& process_type) argument
802 RunProcess( const std::string& process_type, const content::MainFunctionParams& main_function_params) argument
838 ProcessExiting(const std::string& process_type) argument
854 ProcessRegistersWithSystemProcess( const std::string& process_type) argument
863 ShouldSendMachPort(const std::string& process_type) argument
868 DelaySandboxInitialization( const std::string& process_type) argument
896 std::string process_type = local
[all...]
H A Dchrome_main_delegate.h30 virtual void SandboxInitialized(const std::string& process_type) OVERRIDE;
32 const std::string& process_type,
34 virtual void ProcessExiting(const std::string& process_type) OVERRIDE;
37 const std::string& process_type) OVERRIDE;
38 virtual bool ShouldSendMachPort(const std::string& process_type) OVERRIDE;
40 const std::string& process_type) OVERRIDE;
57 const std::string& process_type);
/external/chromium_org/content/common/sandbox_linux/
H A Dsandbox_seccomp_bpf_linux.cc112 // If a BPF policy is engaged for |process_type|, run a few sanity checks.
113 void RunSandboxSanityChecks(const std::string& process_type) { argument
114 if (process_type == switches::kRendererProcess ||
115 process_type == switches::kGpuProcess ||
116 process_type == switches::kPpapiPluginProcess) {
176 const std::string& process_type) {
179 if (process_type == switches::kGpuProcess) {
181 } else if (process_type == switches::kRendererProcess) {
183 } else if (process_type == switches::kPpapiPluginProcess) {
185 } else if (process_type
175 StartBPFSandbox(const base::CommandLine& command_line, const std::string& process_type) argument
199 StartBPFSandbox(const base::CommandLine& command_line, const std::string& process_type) argument
226 ShouldEnableSeccompBPF( const std::string& process_type) argument
256 StartSandbox(const std::string& process_type) argument
[all...]
H A Dsandbox_seccomp_bpf_linux.h32 // Should the sandbox be enabled for process_type ?
33 static bool ShouldEnableSeccompBPF(const std::string& process_type);
37 // Start the sandbox and apply the policy for process_type, depending on
39 static bool StartSandbox(const std::string& process_type);
H A Dsandbox_linux.cc57 const std::string process_type = local
61 process_type + ".";
251 bool LinuxSandbox::StartSeccompBPF(const std::string& process_type) { argument
255 seccomp_bpf_started_ = SandboxSeccompBPF::StartSandbox(process_type);
265 const std::string process_type = local
278 process_type));
284 "threads in process " + process_type;
291 bool sandbox_failure_fatal = process_type != switches::kGpuProcess;
295 if (process_type == switches::kGpuProcess &&
318 LimitAddressSpace(process_type);
336 LimitAddressSpace(const std::string& process_type) argument
392 CheckForBrokenPromises(const std::string& process_type) argument
[all...]
/external/chromium_org/content/public/app/
H A Dcontent_main_delegate.cc24 const std::string& process_type,
32 const std::string& process_type) {
36 bool ContentMainDelegate::ShouldSendMachPort(const std::string& process_type) { argument
41 const std::string& process_type) {
23 RunProcess( const std::string& process_type, const content::MainFunctionParams& main_function_params) argument
31 ProcessRegistersWithSystemProcess( const std::string& process_type) argument
40 DelaySandboxInitialization( const std::string& process_type) argument
H A Dcontent_main_delegate.h42 virtual void SandboxInitialized(const std::string& process_type) {} argument
46 const std::string& process_type,
50 virtual void ProcessExiting(const std::string& process_type) {} argument
57 const std::string& process_type);
62 virtual bool ShouldSendMachPort(const std::string& process_type);
67 virtual bool DelaySandboxInitialization(const std::string& process_type);
/external/chromium_org/chrome/nacl/
H A Dnacl_exe_win_64.cc24 std::string process_type = local
28 breakpad::InitCrashReporter(process_type);
/external/chromium_org/extensions/shell/app/
H A Dshell_main_delegate.cc72 std::string process_type = local
75 if (ProcessNeedsResourceBundle(process_type))
123 const std::string& process_type) {
126 return process_type.empty() ||
127 process_type == switches::kZygoteProcess ||
128 process_type == switches::kRendererProcess ||
130 process_type == switches::kNaClLoaderProcess ||
132 process_type == switches::kUtilityProcess;
122 ProcessNeedsResourceBundle( const std::string& process_type) argument
/external/chromium_org/content/shell/app/
H A Dshell_crash_reporter_client.cc65 const std::string& process_type) {
66 return process_type == switches::kRendererProcess ||
67 process_type == switches::kPluginProcess ||
68 process_type == switches::kPpapiPluginProcess ||
69 process_type == switches::kZygoteProcess ||
70 process_type == switches::kGpuProcess;
64 EnableBreakpadForProcess( const std::string& process_type) argument
/external/chromium_org/chrome/browser/task_profiler/
H A Dtask_profiler_data_serializer.h27 // Writes the contents of |process_data| and |process_type| into |dictionary|.
29 int process_type,
/external/chromium_org/components/metrics/profiler/
H A Dprofiler_metrics_provider.h33 int process_type);
H A Dtracking_synchronizer_observer.h17 // Received |profiler_data| from a single process of |process_type|.
22 int process_type) = 0;
/external/chromium_org/components/nacl/loader/
H A Dnacl_helper_win_64.cc53 std::string process_type = local
69 << process_type;
73 if (process_type == switches::kNaClLoaderProcess)
76 if (process_type == switches::kNaClBrokerProcess)
/external/chromium_org/remoting/host/
H A Dhost_main.cc137 MainRoutineFn SelectMainRoutine(const std::string& process_type) { argument
140 if (process_type == kProcessTypeHost) {
143 } else if (process_type == kProcessTypeDaemon) {
145 } else if (process_type == kProcessTypeDesktop) {
147 } else if (process_type == kProcessTypeController) {
149 } else if (process_type == kProcessTypeRdpDesktopSession) {
212 std::string process_type = kProcessTypeHost; local
214 process_type = command_line->GetSwitchValueASCII(kProcessTypeSwitchName);
217 MainRoutineFn main_routine = SelectMainRoutine(process_type);
220 process_type
[all...]

Completed in 5525 milliseconds

123456