Changeset 52618 in vbox for trunk/src/VBox/HostDrivers/Support/testcase
- Timestamp:
- Sep 5, 2014 12:07:29 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 95899
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/testcase/tstGIP-2.cpp
r45399 r52618 5 5 6 6 /* 7 * Copyright (C) 2006-201 3Oracle Corporation7 * Copyright (C) 2006-2014 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 108 108 g_pSUPGlobalInfoPage->u32Version); 109 109 RTPrintf(fHex 110 ? "tstGIP-2: it: u64NanoTS delta u64TSC UpIntTSC H TransId CpuHz TSC Interval History...\n"111 : "tstGIP-2: it: u64NanoTS delta u64TSC UpIntTSC H TransId CpuHz TSC Interval History...\n");110 ? "tstGIP-2: it: u64NanoTS delta u64TSC UpIntTSC H TransId CpuHz TSCDelta TSC Interval History...\n" 111 : "tstGIP-2: it: u64NanoTS delta u64TSC UpIntTSC H TransId CpuHz TSCDelta TSC Interval History...\n"); 112 112 static SUPGIPCPU s_aaCPUs[2][256]; 113 113 for (uint32_t i = 0; i < cIterations; i++) … … 126 126 PSUPGIPCPU pCpu = &s_aaCPUs[i & 1][iCpu]; 127 127 RTPrintf(fHex 128 ? "tstGIP-2: %4d/%d: %016llx %09llx %016llx %08x %d %08x %15llu %0 8x %08x %08x %08x %08x %08x %08x %08x (%d)\n"129 : "tstGIP-2: %4d/%d: %016llu %09llu %016llu %010u %d %010u %15llu %0 8x %08x %08x %08x %08x %08x %08x %08x (%d)\n",128 ? "tstGIP-2: %4d/%d: %016llx %09llx %016llx %08x %d %08x %15llu %016lld %08x %08x %08x %08x %08x %08x %08x %08x (%d)\n" 129 : "tstGIP-2: %4d/%d: %016llu %09llu %016llu %010u %d %010u %15llu %016lld %08x %08x %08x %08x %08x %08x %08x %08x (%d)\n", 130 130 i, iCpu, 131 131 pCpu->u64NanoTS, … … 136 136 pCpu->u32TransactionId, 137 137 pCpu->u64CpuHz, 138 pCpu->i64TSCDelta, 138 139 pCpu->au32TSCHistory[0], 139 140 pCpu->au32TSCHistory[1], … … 159 160 /* nop */; 160 161 } 162 163 /* Display TSC deltas. */ 164 RTPrintf("tstGIP-2: TSC deltas:\n"); 165 for (unsigned iCpu = 0; iCpu < g_pSUPGlobalInfoPage->cCpus; iCpu++) 166 RTPrintf("tstGIP-2: %6d: %016lld\n", iCpu, g_pSUPGlobalInfoPage->aCPUs[iCpu].i64TSCDelta); 161 167 } 162 168 else
Note:
See TracChangeset
for help on using the changeset viewer.