Changeset 62599 in vbox
- Timestamp:
- Jul 27, 2016 2:45:28 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 109168
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/information/UIInformationDataItem.cpp
r62365 r62599 670 670 } 671 671 672 /* Calculate uptime: */ 673 uint32_t uUpSecs = (RTTimeProgramSecTS() / 5) * 5; 672 /* Determine uptime: */ 673 CMachineDebugger debugger = m_console.GetDebugger(); 674 uint32_t uUpSecs = (debugger.GetUptime() / 5000) * 5; 674 675 char szUptime[32]; 675 676 uint32_t uUpDays = uUpSecs / (60 * 60 * 24); … … 688 689 QString strDnDMode = gpConverter->toString(m_machine.GetDnDMode()); 689 690 690 /* Deterine virtualization attributes: */ 691 CMachineDebugger debugger = m_console.GetDebugger(); 691 /* Determine virtualization attributes: */ 692 692 QString strVirtualization = debugger.GetHWVirtExEnabled() ? 693 693 VBoxGlobal::tr("Active", "details report (VT-x/AMD-V)") :
Note:
See TracChangeset
for help on using the changeset viewer.