Changeset 103464 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Feb 20, 2024 2:35:20 AM (14 months ago)
- svn:sync-xref-src-repo-rev:
- 161798
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UICommon.cpp
r103280 r103464 595 595 m_strDbgStatisticsFilter = arguments.at(i).section('=', 1); 596 596 } 597 else if (!::strcmp(arg, "--statistics-config") || !::strcmp(arg, "--stats-config")) 598 { 599 enmOptType = OptType_VMRunner; 600 if (++i < argc) 601 m_strDbgStatisticsConfig = arguments.at(i); 602 } 603 else if (!::strncmp(arg, RT_STR_TUPLE("--statistics-config=")) || !::strncmp(arg, RT_STR_TUPLE("--stats-config="))) 604 { 605 enmOptType = OptType_VMRunner; 606 m_strDbgStatisticsConfig = arguments.at(i).section('=', 1); 607 } 597 608 else if (!::strcmp(arg, "-no-debug") || !::strcmp(arg, "--no-debug")) 598 609 { -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UICommon.h
r102750 r103464 308 308 /** Returns the --statistics-filter value. */ 309 309 QString const getDebuggerStatisticsFilter() const { return m_strDbgStatisticsFilter; } 310 /** Returns the --statistics-config value. */ 311 QString const getDebuggerStatisticsConfig() const { return m_strDbgStatisticsConfig; } 310 312 311 313 /** VBoxDbg module handle. */ … … 732 734 /** Pattern of statistics to expand when opening the viewer. */ 733 735 QString m_strDbgStatisticsExpand; 734 /** The statistics viewer filter. */736 /** The statistics viewer main filter pattern. */ 735 737 QString m_strDbgStatisticsFilter; 738 /** The statistics viewer advanced filter configuration and possibly more. */ 739 QString m_strDbgStatisticsConfig; 736 740 737 741 /** VBoxDbg module handle. */ -
trunk/src/VBox/Frontends/VirtualBox/src/main.cpp
r103246 r103464 286 286 " --statistics-expand <pat> expand the matching statistics (can be repeated)\n" 287 287 " --statistics-filter <pat> statistics filter\n" 288 " --statistics-config <str> statistics configuration\n" 288 289 " --no-debug disable the GUI debug menu and debug windows\n" 289 290 " --start-paused start the VM in the paused state\n" -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
r103362 r103464 2300 2300 void UISession::dbgShowStatistics() 2301 2301 { 2302 const QByteArray &filterBytes = uiCommon().getDebuggerStatisticsFilter().toUtf8(); 2302 2303 const QByteArray &expandBytes = uiCommon().getDebuggerStatisticsExpand().toUtf8(); 2303 const QByteArray & filterBytes = uiCommon().getDebuggerStatisticsFilter().toUtf8();2304 m_pDbgGuiVT->pfnShowStatistics(m_pDbgGui, filterBytes.constData(), expandBytes.constData() );2304 const QByteArray &configBytes = uiCommon().getDebuggerStatisticsConfig().toUtf8(); 2305 m_pDbgGuiVT->pfnShowStatistics(m_pDbgGui, filterBytes.constData(), expandBytes.constData(), configBytes.constData()); 2305 2306 } 2306 2307
Note:
See TracChangeset
for help on using the changeset viewer.