| Index: base/process_util_posix.cc
|
| diff --git a/base/process_util_posix.cc b/base/process_util_posix.cc
|
| index 4392c7bcfb3dc2eeb271870a6fa6f8d085f3912f..1e843460e40f126c0458d9cbd72445e7107a25e0 100644
|
| --- a/base/process_util_posix.cc
|
| +++ b/base/process_util_posix.cc
|
| @@ -494,7 +494,7 @@ int64 TimeValToMicroseconds(const struct timeval& tv) {
|
| return tv.tv_sec * kMicrosecondsPerSecond + tv.tv_usec;
|
| }
|
|
|
| -#if defined(OS_MACOSX)
|
| +#if defined(OS_MACOSX) || defined(OS_FREEBSD)
|
| // TODO(port): this function only returns the *current* CPU's usage;
|
| // we want to return this->process_'s CPU usage.
|
| int ProcessMetrics::GetCPUUsage() {
|
|
|