Changeset 32904 in vbox for trunk/src/VBox/Devices/Graphics
- Timestamp:
- Oct 5, 2010 10:34:28 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 66387
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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;
Note:
See TracChangeset
for help on using the changeset viewer.