From 5053751bc0cf9affd50c2ab21ef5954fb19f42ae Mon Sep 17 00:00:00 2001 From: Vasili Skurydzin Date: Tue, 24 Nov 2020 12:21:34 -0800 Subject: [PATCH] aix: Return false from ThreadTicks::IsSupported() in PASE Change-Id: I63446404789a33b97db2bacee2faf3a04e137ed5 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2558973 Reviewed-by: Milad Fa Reviewed-by: Igor Sheludko Commit-Queue: Vasili Skurydzin Cr-Commit-Position: refs/heads/master@{#71410} --- src/base/platform/time.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/base/platform/time.cc b/src/base/platform/time.cc index 78574b776d..c399c52cb2 100644 --- a/src/base/platform/time.cc +++ b/src/base/platform/time.cc @@ -760,6 +760,9 @@ bool ThreadTicks::IsSupported() { #else return false; #endif +#elif defined(__PASE__) + // Thread CPU time accounting is unavailable in PASE + return false; #elif(defined(_POSIX_THREAD_CPUTIME) && (_POSIX_THREAD_CPUTIME >= 0)) || \ defined(V8_OS_MACOSX) || defined(V8_OS_ANDROID) || defined(V8_OS_SOLARIS) return true;