VirtualBox

Ignore:
Timestamp:
Oct 13, 2016 3:18:21 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
111265
Message:

SUP,VMM,IPRT: SUPDrv and GIP major version bump! Added processor group info to GIP along with a new RDTSCP-based method for getting the current CPU (for the timesup code).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/testcase/tstGIP-2.cpp

    r62490 r64255  
    131131                SUPR3GipSetFlags(SUPGIP_FLAGS_TESTING_ENABLE, UINT32_MAX);
    132132
    133             RTPrintf("tstGIP-2: cCpus=%d  u32UpdateHz=%RU32  u32UpdateIntervalNS=%RU32  u64NanoTSLastUpdateHz=%RX64  u64CpuHz=%RU64  uCpuHzRef=%RU64  u32Mode=%d (%s)  fTestMode=%RTbool  u32Version=%#x\n",
     133            RTPrintf("tstGIP-2: u32Mode=%d (%s)  fTestMode=%RTbool  u32Version=%#x  fGetGipCpu=%#RX32\n",
     134                     g_pSUPGlobalInfoPage->u32Mode,
     135                     SUPGetGIPModeName(g_pSUPGlobalInfoPage),
     136                     fTestMode,
     137                     g_pSUPGlobalInfoPage->u32Version,
     138                     g_pSUPGlobalInfoPage->fGetGipCpu);
     139            RTPrintf("tstGIP-2: cCpus=%d  cPossibleCpus=%d cPossibleCpuGroups=%d cPresentCpus=%d cOnlineCpus=%d\n",
    134140                     g_pSUPGlobalInfoPage->cCpus,
     141                     g_pSUPGlobalInfoPage->cPossibleCpus,
     142                     g_pSUPGlobalInfoPage->cPossibleCpuGroups,
     143                     g_pSUPGlobalInfoPage->cPresentCpus,
     144                     g_pSUPGlobalInfoPage->cOnlineCpus);
     145            RTPrintf("tstGIP-2: u32UpdateHz=%RU32  u32UpdateIntervalNS=%RU32  u64NanoTSLastUpdateHz=%RX64  u64CpuHz=%RU64  uCpuHzRef=%RU64\n",
    135146                     g_pSUPGlobalInfoPage->u32UpdateHz,
    136147                     g_pSUPGlobalInfoPage->u32UpdateIntervalNS,
    137148                     g_pSUPGlobalInfoPage->u64NanoTSLastUpdateHz,
    138149                     g_pSUPGlobalInfoPage->u64CpuHz,
    139                      uCpuHzRef,
    140                      g_pSUPGlobalInfoPage->u32Mode,
    141                      SUPGetGIPModeName(g_pSUPGlobalInfoPage),
    142                      fTestMode,
    143                      g_pSUPGlobalInfoPage->u32Version);
     150                     uCpuHzRef);
     151
    144152            RTPrintf(fHex
    145153                     ? "tstGIP-2:     it: u64NanoTS        delta     u64TSC           UpIntTSC H  TransId      CpuHz      %sTSC Interval History...\n"
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