VirtualBox

Changeset 99902 in vbox


Ignore:
Timestamp:
May 22, 2023 2:18:40 PM (21 months ago)
Author:
vboxsync
Message:

IPRT: Cleaned up RTThreadGetExecutionTimeMilli and associated testcase. [solaris fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/thread-posix.cpp

    r99901 r99902  
    737737    struct rusage ts;
    738738    int const rc = getrusage(RUSAGE_LWP, &ts);
    739     AsserReturn(rc == 0, RTErrConvertFromErrno(rc));
     739    AssertReturn(rc == 0, RTErrConvertFromErrno(rc));
    740740
    741741    *pcMsKernelTime = ts.ru_stime.tv_sec * 1000 + ts.ru_stime.tv_usec / 1000;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette