mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
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
@ -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 New Issue
Block a user