Commit 5053751b authored by Vasili Skurydzin's avatar Vasili Skurydzin Committed by Commit Bot

aix: Return false from ThreadTicks::IsSupported() in PASE

Change-Id: I63446404789a33b97db2bacee2faf3a04e137ed5
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2558973Reviewed-by: 's avatarMilad Fa <mfarazma@redhat.com>
Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
Commit-Queue: Vasili Skurydzin <vasili.skurydzin@ibm.com>
Cr-Commit-Position: refs/heads/master@{#71410}
parent f4085c8e
...@@ -760,6 +760,9 @@ bool ThreadTicks::IsSupported() { ...@@ -760,6 +760,9 @@ bool ThreadTicks::IsSupported() {
#else #else
return false; return false;
#endif #endif
#elif defined(__PASE__)
// Thread CPU time accounting is unavailable in PASE
return false;
#elif(defined(_POSIX_THREAD_CPUTIME) && (_POSIX_THREAD_CPUTIME >= 0)) || \ #elif(defined(_POSIX_THREAD_CPUTIME) && (_POSIX_THREAD_CPUTIME >= 0)) || \
defined(V8_OS_MACOSX) || defined(V8_OS_ANDROID) || defined(V8_OS_SOLARIS) defined(V8_OS_MACOSX) || defined(V8_OS_ANDROID) || defined(V8_OS_SOLARIS)
return true; return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment