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 <mfarazma@redhat.com>
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Commit-Queue: Vasili Skurydzin <vasili.skurydzin@ibm.com>
Cr-Commit-Position: refs/heads/master@{#71410}
This commit is contained in:
Vasili Skurydzin 2020-11-24 12:21:34 -08:00 committed by Commit Bot
parent f4085c8e70
commit 5053751bc0

View File

@ -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;