Changeset 34628 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Dec 2, 2010 5:00:04 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 68430
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/thread-posix.cpp
r34626 r34628 413 413 RTR3DECL(int) RTThreadGetExecutionTimeMilli(uint64_t *pKernelTime, uint64_t *pUserTime) 414 414 { 415 #ifndef RT_OS_DARWIN 415 416 struct timespec ts; 416 417 int rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts); … … 421 422 *pUserTime = (uint64_t)ts.tv_sec * 1000 + ts.tv_nsec / 1000000; 422 423 return VINF_SUCCESS; 423 } 424 #else 425 return VERR_NOT_IMPLEMENTED; 426 #endif 427 }
Note:
See TracChangeset
for help on using the changeset viewer.