Home
last modified time | relevance | path

Searched refs:process_id (Results 1 – 25 of 83) sorted by relevance

1234

/external/libchrome/base/debug/
Dactivity_analyzer.cc77 activity_snapshot_.process_id, activity.user_data_ref, in AddGlobalInformation()
221 int64_t process_id; in GetUserDataSnapshot() local
223 if (!ActivityUserData::GetOwningProcessId(memory, &process_id, in GetUserDataSnapshot()
225 process_id != pid || user_data.id() != id) { in GetUserDataSnapshot()
242 DCHECK_EQ(pid, iter->second.process_id); in GetProcessDataSnapshot()
273 int64_t process_id; in GetModules() local
275 if (!OwningProcess::GetOwningProcessId(&record->owner, &process_id, in GetModules()
277 pid != process_id || create_stamp > analysis_stamp_) { in GetModules()
376 int64_t process_id; in PrepareAllAnalyzers() local
378 ActivityUserData::GetOwningProcessId(base, &process_id, &create_stamp); in PrepareAllAnalyzers()
[all …]
Dactivity_tracker.h90 int64_t process_id; member
121 int64_t process_id; // A unique identifier for a process. member
168 data.process.process_id = id; in ForProcess()
603 int64_t process_id = 0; member
804 Callback<void(int64_t process_id,
892 int64_t process_id);
913 int64_t process_id);
987 void RecordProcessLaunch(ProcessId process_id,
989 void RecordProcessLaunch(ProcessId process_id,
992 void RecordProcessExit(ProcessId process_id, int exit_code);
[all …]
Dactivity_tracker.cc69 return global->process_id(); in GetProcessId()
130 process_id = pid != 0 ? pid : GetProcessId(); in Release_Initialize()
137 process_id = pid; in SetOwningProcessIdForTesting()
150 *out_id = info->process_id; in GetOwningProcessId()
359 *const_cast<int64_t*>(&orig_process_id) = header_->owner.process_id; in ActivityUserData()
595 header_->owner.process_id != orig_process_id || in ImportExistingData()
724 DCHECK_EQ(0, header_->owner.process_id); in ThreadActivityTracker()
901 header_->owner.process_id == 0 || header_->thread_ref.as_id == 0 || in IsValid()
939 const int64_t starting_process_id = header_->owner.process_id; in CreateSnapshot()
979 output_snapshot->process_id = header_->owner.process_id; in CreateSnapshot()
[all …]
Dactivity_analyzer_unittest.cc499 EXPECT_EQ(1001, global->process_id()); in TEST_F()
501 int64_t process_id; in TEST_F() local
505 &process_id, &create_stamp); in TEST_F()
506 ASSERT_EQ(1001, process_id); in TEST_F()
509 global->process_id()); in TEST_F()
516 EXPECT_EQ(2002, GlobalActivityTracker::Get()->process_id()); in TEST_F()
518 int64_t process_id; in TEST_F() local
522 &process_id, &create_stamp); in TEST_F()
523 ASSERT_EQ(2002, process_id); in TEST_F()
526 "pid", GlobalActivityTracker::Get()->process_id()); in TEST_F()
[all …]
Dactivity_analyzer.h85 return activity_snapshot_.process_id;
95 return ThreadKey(activity_snapshot_.process_id, in GetThreadKey()
220 int64_t process_id; member
/external/cronet/base/test/
Dtrace_event_analyzer.h118 ProcessThreadID() : process_id(0), thread_id(0) {} in ProcessThreadID()
119 ProcessThreadID(int process_id, int thread_id) in ProcessThreadID()
120 : process_id(process_id), thread_id(thread_id) {} in ProcessThreadID()
122 if (process_id != rhs.process_id)
123 return process_id < rhs.process_id;
126 int process_id; member
262 static Query EventPidIs(int process_id) { in EventPidIs() argument
263 return Query(EVENT_PID) == Query::Int(process_id); in EventPidIs()
271 return EventPidIs(thread.process_id) && EventTidIs(thread.thread_id); in EventThreadIs()
333 static Query OtherPidIs(int process_id) { in OtherPidIs() argument
[all …]
/external/libchrome/base/test/
Dtrace_event_analyzer.h118 ProcessThreadID() : process_id(0), thread_id(0) {} in ProcessThreadID()
119 ProcessThreadID(int process_id, int thread_id) in ProcessThreadID()
120 : process_id(process_id), thread_id(thread_id) {} in ProcessThreadID()
122 if (process_id != rhs.process_id)
123 return process_id < rhs.process_id;
126 int process_id; member
264 static Query EventPidIs(int process_id) { in EventPidIs() argument
265 return Query(EVENT_PID) == Query::Int(process_id); in EventPidIs()
273 return EventPidIs(thread.process_id) && EventTidIs(thread.thread_id); in EventThreadIs()
335 static Query OtherPidIs(int process_id) { in OtherPidIs() argument
[all …]
/external/perfetto/src/trace_processor/metrics/sql/experimental/
Dchrome_dropped_frames.sql51 process.pid AS process_id
72 WHERE (SELECT COUNT(DISTINCT process_id)
78 COALESCE(process_name, 'Process') || ' ' || process_id AS track_name,
84 GROUP BY process_id, ts;
95 'pid', process_id
Dchrome_long_latency.sql60 process.pid AS process_id
82 WHERE (SELECT COUNT(DISTINCT process_id)
88 process_name || ' ' || process_id AS track_name,
106 'pid', process_id
/external/cronet/base/debug/
Dasan_service.cc89 ProcessId process_id = GetCurrentProcId(); in RunErrorCallbacks() local
97 Log("\n==%i==ADDITIONAL INFO", (int)process_id); in RunErrorCallbacks()
99 (int)process_id); in RunErrorCallbacks()
103 Log("\n==%i==END OF ADDITIONAL INFO", (int)process_id); in RunErrorCallbacks()
107 Log("\n==%i==EXITING", (int)process_id); in RunErrorCallbacks()
/external/cronet/base/win/
Dscoped_process_information_unittest.cc73 EXPECT_EQ(kProcessId, process_info.process_id()); in TEST_F()
87 EXPECT_EQ(0u, process_info.process_id()); in TEST_F()
136 ASSERT_NE(0u, process_info.process_id()); in TEST_F()
137 ASSERT_EQ(duplicate.process_id(), process_info.process_id()); in TEST_F()
165 EXPECT_EQ(kProcessId, process_info.process_id()); in TEST_F()
Dscoped_process_information.cc76 process_id_ = other.process_id(); in DuplicateFrom()
88 process_information.dwProcessId = process_id(); in Take()
/external/libchrome/ipc/
Dipc_channel.cc41 int process_id = -1; in GenerateUniqueRandomChannelID() local
43 int process_id = base::GetCurrentProcId(); in GenerateUniqueRandomChannelID()
46 process_id, in GenerateUniqueRandomChannelID()
/external/libchrome/mojo/public/cpp/base/
Dprocess_id_mojom_traits.h17 static uint32_t pid(const base::ProcessId& process_id) { in COMPONENT_EXPORT()
18 return static_cast<uint32_t>(process_id); in COMPONENT_EXPORT()
22 base::ProcessId* process_id); in COMPONENT_EXPORT()
Dprocess_id_mojom_traits.cc11 base::ProcessId* process_id) { in Read() argument
12 *process_id = static_cast<base::ProcessId>(data.pid()); in Read()
/external/webrtc/modules/desktop_capture/win/
Dfull_screen_win_application_handler.cc105 DWORD process_id = WindowProcessId(original_window); in FindFullScreenWindow() local
108 GetProcessWindows(window_list, process_id, original_window); in FindFullScreenWindow()
197 DWORD process_id = WindowProcessId(reinterpret_cast<HWND>(GetSourceId())); in FindFullScreenWindow() local
200 GetProcessWindows(window_list, process_id, nullptr); in FindFullScreenWindow()
255 DWORD process_id = WindowProcessId(window_id); in GetPathByWindowId() local
257 ::OpenProcess(PROCESS_QUERY_LIMITED_INFORMATION, FALSE, process_id); in GetPathByWindowId()
/external/cronet/base/trace_event/
Dtrace_event_impl.cc174 ProcessId process_id; in AppendAsJSON() local
178 process_id = process_id_; in AppendAsJSON()
181 process_id = TraceLog::GetInstance()->process_id(); in AppendAsJSON()
192 static_cast<int>(process_id), static_cast<int>(thread_id), in AppendAsJSON()
/external/cronet/ipc/
Dipc_channel.cc38 int process_id = base::GetCurrentProcId(); in GenerateUniqueRandomChannelID() local
40 process_id, in GenerateUniqueRandomChannelID()
/external/libchrome/base/process/
Dprocess_handle.cc22 uint32_t MangleProcessId(ProcessId process_id) { in MangleProcessId() argument
25 return static_cast<uint32_t>(process_id) + 1000000000U; in MangleProcessId()
/external/cronet/components/nacl/browser/
Dnacl_browser.h83 void SetProcessGdbDebugStubPort(int process_id, int port);
84 int GetProcessGdbDebugStubPort(int process_id);
153 void OnProcessEnd(int process_id);
Dnacl_browser.cc297 void NaClBrowser::SetProcessGdbDebugStubPort(int process_id, int port) { in SetProcessGdbDebugStubPort() argument
299 gdb_debug_stub_port_map_[process_id] = port; in SetProcessGdbDebugStubPort()
318 int NaClBrowser::GetProcessGdbDebugStubPort(int process_id) { in GetProcessGdbDebugStubPort() argument
321 auto i = gdb_debug_stub_port_map_.find(process_id); in GetProcessGdbDebugStubPort()
572 void NaClBrowser::OnProcessEnd(int process_id) { in OnProcessEnd() argument
574 gdb_debug_stub_port_map_.erase(process_id); in OnProcessEnd()
/external/perfetto/include/perfetto/tracing/
Dplatform.h66 static void SetCurrentProcessId(base::PlatformProcessId process_id) { in SetCurrentProcessId() argument
69 process_id_ = process_id; in SetCurrentProcessId()
/external/cronet/base/tracing/
Dperfetto_platform.cc99 NumberToString(trace_event::TraceLog::GetInstance()->process_id())}); in GetCurrentProcessName()
103 NumberToString(trace_event::TraceLog::GetInstance()->process_id())}); in GetCurrentProcessName()
/external/libchrome/base/trace_event/
Dtrace_event_impl.cc281 int process_id; in AppendAsJSON() local
285 process_id = process_id_; in AppendAsJSON()
288 process_id = TraceLog::GetInstance()->process_id(); in AppendAsJSON()
298 process_id, thread_id, time_int64, phase_, category_group_name); in AppendAsJSON()
/external/cronet/base/threading/
Dplatform_thread_linux.cc201 void SetThreadLatencySensitivity(ProcessId process_id, in SetThreadLatencySensitivity() argument
230 thread_dir = base::StringPrintf("/proc/%d/task/%d/", process_id, thread_id); in SetThreadLatencySensitivity()
433 void PlatformThread::SetThreadType(ProcessId process_id, in SetThreadType() argument
442 SetThreadLatencySensitivity(process_id, thread_id, thread_type); in SetThreadType()

1234