Changeset 68022 in vbox
- Timestamp:
- Jul 18, 2017 1:18:58 PM (7 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
-
VMMAll/TMAllCpu.cpp (modified) (1 diff)
-
testcase/tstVMM.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/TMAllCpu.cpp
r68019 r68022 383 383 uint64_t cNsToDeadline; 384 384 uint64_t u64NowVirtSync = TMVirtualSyncGetWithDeadlineNoCheck(pVM, &cNsToDeadline); 385 uint64_t u64Now = ASMMultU64ByU32DivByU32(u64NowVirtSync, pVM->tm.s.cTSCTicksPerSecond, TMCLOCK_FREQ_VIRTUAL) 385 uint64_t u64Now = ASMMultU64ByU32DivByU32(u64NowVirtSync, pVM->tm.s.cTSCTicksPerSecond, TMCLOCK_FREQ_VIRTUAL); 386 386 u64Now -= pVCpu->tm.s.offTSCRawSrc; 387 387 *poffRealTsc = u64Now - ASMReadTSC(); -
trunk/src/VBox/VMM/testcase/tstVMM.cpp
r62775 r68022 38 38 #include <iprt/thread.h> 39 39 40 #include <iprt/win/windows.h> 41 40 42 41 43 /********************************************************************************************************************************* … … 270 272 } 271 273 274 #if 1 275 HMODULE hmod; 276 //SetLastError(0); 277 //hmod = LoadLibraryW(L"c:\\tmp\\testdir\\nodot"); 278 //RTPrintf("c:\\tmp\\testdir\\nodot -> %p %#x\n", hmod, GetLastError()); 279 // 280 //SetLastError(0); 281 //hmod = LoadLibraryW(L"c:\\tmp\\testdir\\trailingdot."); 282 //RTPrintf("c:\\tmp\\testdir\\trailingdot. -> %p %#x\n", hmod, GetLastError()); 283 284 RTPrintf("\n=======>\n"); 285 SetLastError(0); 286 hmod = LoadLibraryW(L"\\\\localhost\\c\\tmp\\VBoxRes.dll"); 287 RTPrintf("\\\\localhost\\c\\tmp\\VBoxRes.dll -> %p %#x\n", hmod, GetLastError()); 288 289 RTPrintf("\n=======>\n"); 290 SetLastError(0); 291 hmod = LoadLibraryW(L"\\\\?\\UNC\\localhost\\c\\tmp\\VBoxRes.dll"); 292 RTPrintf("\\\\?\\UNC\\localhost\\c\\tmp\\VBoxRes.dll -> %p %#x\n", hmod, GetLastError()); 293 294 #else 295 272 296 /* 273 297 * Create the test VM. … … 374 398 else 375 399 RTTestFailed(hTest, "VMR3Create failed: rc=%Rrc\n", rc); 376 400 #endif 377 401 return RTTestSummaryAndDestroy(hTest); 378 402 }
Note:
See TracChangeset
for help on using the changeset viewer.

