Changeset 99901 in vbox for trunk/include
- Timestamp:
- May 22, 2023 2:15:10 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/thread.h
r99739 r99901 900 900 901 901 /** 902 * Get the execution times of the specified thread 903 * 904 * @returns IPRT status code. 905 * @param pKernelTime Kernel execution time in ms (out) 906 * @param pUserTime User execution time in ms (out) 907 * 908 */ 909 RTR3DECL(int) RTThreadGetExecutionTimeMilli(uint64_t *pKernelTime, uint64_t *pUserTime); 902 * Get the execution times of the calling thread. 903 * 904 * @returns IPRT status code. 905 * @retval VERR_NOT_IMPLEMENTED if not implemented/supported. 906 * 907 * @param[out] pcMsKernelTime Kernel execution time in ms (out). 908 * @param[out] pcMsUserTime User execution time in ms (out). 909 * 910 * @remarks Linux and FreeBSD is currently reporting both kernel and user time 911 * together via @a *pcMsUserTime and @a *pcMsKernelTime will always be 912 * set to zero. 913 */ 914 RTR3DECL(int) RTThreadGetExecutionTimeMilli(uint64_t *pcMsKernelTime, uint64_t *pcMsUserTime); 915 910 916 911 917 /** @name Thread Local Storage
Note:
See TracChangeset
for help on using the changeset viewer.