diff options
author | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-23 12:59:54 +0000 |
---|---|---|
committer | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-23 12:59:54 +0000 |
commit | 32f5e9a0783c3d03ec2351401d8c4100c153a499 (patch) | |
tree | 2a0d58988e8c1429380500961d5f20ce08dc5c60 /base/process_util_posix.cc | |
parent | 2ac90b1f8eff5bf3788f258bd8fbbcaaa023df91 (diff) | |
download | chromium_src-32f5e9a0783c3d03ec2351401d8c4100c153a499.zip chromium_src-32f5e9a0783c3d03ec2351401d8c4100c153a499.tar.gz chromium_src-32f5e9a0783c3d03ec2351401d8c4100c153a499.tar.bz2 |
Split ProcessMetrics out of base/process_util.h and into base/process/process_metrics.h.
BUG=242290
R=brettw@chromium.org
Review URL: https://codereview.chromium.org/15564006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201775 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util_posix.cc')
-rw-r--r-- | base/process_util_posix.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/base/process_util_posix.cc b/base/process_util_posix.cc index 6f15130..9b05b98 100644 --- a/base/process_util_posix.cc +++ b/base/process_util_posix.cc @@ -771,8 +771,6 @@ bool LaunchProcess(const CommandLine& cmdline, return LaunchProcess(cmdline.argv(), options, process_handle); } -ProcessMetrics::~ProcessMetrics() { } - void RaiseProcessToHighPriority() { // On POSIX, we don't actually do anything here. We could try to nice() or // setpriority() or sched_getscheduler, but these all require extra rights. @@ -946,14 +944,6 @@ bool WaitForSingleProcess(ProcessHandle handle, base::TimeDelta wait) { } } -int64 TimeValToMicroseconds(const struct timeval& tv) { - static const int kMicrosecondsPerSecond = 1000000; - int64 ret = tv.tv_sec; // Avoid (int * int) integer overflow. - ret *= kMicrosecondsPerSecond; - ret += tv.tv_usec; - return ret; -} - // Return value used by GetAppOutputInternal to encapsulate the various exit // scenarios from the function. enum GetAppOutputInternalResult { |