Lines Matching full:process
19 #include "base/process/process_handle.h"
26 #include "base/process/port_provider_mac.h"
48 // priv (private): These pages (kbytes) cannot be shared with any other process.
52 // other process.
55 // priv: Pages mapped only by this process.
60 // priv: Pages mapped only by this process.
81 // private: These pages cannot be shared with any other process.
96 // Provides performance metrics for a specified process (CPU usage, memory and
98 // current process, or CreateProcessMetrics() to get an instance for an
99 // arbitrary process. Then, access the information with the different get
105 // Creates a ProcessMetrics for the specified process.
108 static ProcessMetrics* CreateProcessMetrics(ProcessHandle process);
113 // only returns valid metrics if |process| is the current process.
114 static ProcessMetrics* CreateProcessMetrics(ProcessHandle process,
118 // Creates a ProcessMetrics for the current process. This a cross-platform
135 // memory currently allocated to a process that cannot be shared. Returns
145 // function is somewhat expensive on Windows (a few ms per process).
160 // 2 CPUs and your process is using all the cycles of 1 CPU and not the other
174 // process.
181 // Returns the number of file descriptors currently open by the process, or
188 explicit ProcessMetrics(ProcessHandle process);
190 ProcessMetrics(ProcessHandle process, PortProvider* port_provider);
223 mach_port_t TaskForPid(ProcessHandle process) const;
243 // Returns the maximum number of file descriptors that can be open by a process
317 // Get the number of threads of |process| as available in /proc/<pid>/stat.
321 BASE_EXPORT int GetNumberOfThreads(ProcessHandle process);