VirtualBox

Changeset 106927 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 11, 2024 3:17:35 PM (3 months ago)
Author:
vboxsync
Message:

IPRT/tstTSC: RTMpCpuId isn't available on linux and darwin for amd64 & x86. jiraref:VBP-1449

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstTSC.cpp

    r106924 r106927  
    110110static RTCPUID MyGetCpuId(void)
    111111{
     112#if (!defined(RT_OS_LINUX) && !defined(RT_OS_DARWIN)) || defined(RT_ARCH_ARM64) || defined(RT_ARCH_ARM32)
    112113    RTCPUID idCpu = RTMpCpuId();
    113114    if (idCpu != NIL_RTCPUID)
    114115        return idCpu;
     116#endif
    115117#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
    116118    return ASMGetApicId();
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