Fix the previous commit. We do not support getThreadUserTime().
PR: 205523
This commit is contained in:
parent
04708aced2
commit
f79bce06dd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=404273
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@
|
|||
return ((jlong)tinfo.user_time.seconds * 1000000000) + ((jlong)tinfo.user_time.microseconds * (jlong)1000);
|
||||
}
|
||||
#else
|
||||
+ if (Bsd::_getcpuclockid != NULL) {
|
||||
+ if (user_sys_cpu_time && Bsd::_getcpuclockid != NULL) {
|
||||
+ struct timespec tp;
|
||||
+ clockid_t clockid;
|
||||
+ int ret;
|
||||
|
|
Loading…
Reference in a new issue