diff options
author | stephana <stephana@google.com> | 2015-04-09 07:57:54 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-09 07:57:54 -0700 |
commit | 195f62d07d6e996d188b9b2065da073f665a7c5f (patch) | |
tree | 9afc0dd02f92c0b17aea916fe628556de07a8166 /tools/ProcStats.cpp | |
parent | 29b1afc169576cf5e708e46b74313b5666e66249 (diff) |
BUG=skia:
Review URL: https://codereview.chromium.org/1054073003
Diffstat (limited to 'tools/ProcStats.cpp')
-rw-r--r-- | tools/ProcStats.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ProcStats.cpp b/tools/ProcStats.cpp index 5c41213d4d..fc9da23011 100644 --- a/tools/ProcStats.cpp +++ b/tools/ProcStats.cpp @@ -7,7 +7,7 @@ #include "ProcStats.h" -#if defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_ANDROID) +#if defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS) || defined(SK_BUILD_FOR_ANDROID) #include <sys/resource.h> int sk_tools::getMaxResidentSetSizeMB() { struct rusage ru; @@ -30,7 +30,7 @@ int sk_tools::getMaxResidentSetSizeMB() { return -1; } #endif -#if defined(SK_BUILD_FOR_MAC) +#if defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS) #include <mach/mach.h> int sk_tools::getCurrResidentSetSizeMB() { mach_task_basic_info info; |