Changeset 32904 in vbox for trunk/src/VBox
- Timestamp:
- Oct 5, 2010 10:34:28 AM (14 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3D.cpp
r32889 r32904 5381 5381 #ifdef VBOXWDDM_TEST_UHGSMI 5382 5382 { 5383 Assert(0);5384 static uint32_t cCals = 10000 ;5383 // Assert(0); 5384 static uint32_t cCals = 100000; 5385 5385 static uint32_t cbData = 8 * 1024 * 1024; 5386 5386 uint64_t TimeMs; 5387 5387 int rc = vboxUhgsmiTst(&pDevice->Uhgsmi.Base, cbData, cCals, &TimeMs); 5388 5388 uint32_t cCPS = (((uint64_t)cCals) * 1000ULL)/TimeMs; 5389 Assert(0);5390 vboxVDbgDoMpPrintF(pDevice, "Time : %I64u ms, calls: %d, cps: %d\n", TimeMs, cCals, cCPS);5389 // Assert(0); 5390 // vboxVDbgDoMpPrintF(pDevice, "Time : %I64u ms, calls: %d, cps: %d\n", TimeMs, cCals, cCPS); 5391 5391 } 5392 5392 #endif -
trunk/src/VBox/Devices/Graphics/DevVGA_VDMA.cpp
r32877 r32904 292 292 case VBOXVDMACMD_TYPE_CHROMIUM_CMD: 293 293 { 294 #ifdef VBOXWDDM_TEST_UHGSMI 295 static int count = 0; 296 static uint64_t start, end; 297 if (count==0) 298 { 299 start = RTTimeNanoTS(); 300 } 301 ++count; 302 if (count==100000) 303 { 304 end = RTTimeNanoTS(); 305 float ems = (end-start)/1000000.f; 306 LogRel(("100000 calls took %i ms, %i cps\n", (int)ems, (int)(100000.f*1000.f/ems) )); 307 } 308 #endif 294 309 /* todo: post the buffer to chromium */ 295 310 return VINF_SUCCESS; -
trunk/src/VBox/Devices/Makefile.kmk
r32877 r32904 353 353 Graphics/DevVGA_VDMA.cpp 354 354 endif 355 ifdef VBOXWDDM_TEST_UHGSMI 356 DevicesR3_DEFS += VBOXWDDM_TEST_UHGSMI 357 endif 355 358 ifdef VBOXWDDM_WITH_VBVA 356 359 DevicesR3_DEFS += VBOXWDDM_WITH_VBVA
Note:
See TracChangeset
for help on using the changeset viewer.