VirtualBox

Changeset 92892 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Dec 14, 2021 8:57:53 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
148847
Message:

GVMMR0: Experimental code (disabled) for using HR host timers to wake up EMTs.

Location:
trunk/include/VBox/vmm
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/gvm.h

    r92408 r92892  
    9292        struct GVMMPERVCPU  s;
    9393#endif
    94         uint8_t             padding[64];
     94        uint8_t             padding[256];
    9595    } gvmm;
    9696
     
    133133    /** Padding the structure size to page boundrary. */
    134134#ifdef VBOX_WITH_NEM_R0
    135     uint8_t                 abPadding3[4096 - 64*2 - 64 - 1024 - 64 - 896 - 64];
     135    uint8_t                 abPadding3[4096 - 64*2 - 256 - 1024 - 64 - 896 - 64];
    136136#else
    137     uint8_t                 abPadding3[4096 - 64*2 - 64 - 1024 - 896 - 64];
     137    uint8_t                 abPadding3[4096 - 64*2 - 256 - 1024 - 896 - 64];
    138138#endif
    139139} GVMCPU;
  • trunk/include/VBox/vmm/gvm.mac

    r92408 r92892  
    4444
    4545        alignb 64
    46         .gvmm               resb 64
     46        .gvmm               resb 256
    4747        alignb 64
    4848        .hmr0               resb 1024
  • trunk/include/VBox/vmm/gvmm.h

    r92721 r92892  
    3232
    3333#include <VBox/types.h>
     34#include <VBox/vmm/stam.h>
    3435#include <VBox/sup.h>
     36#include <VBox/param.h>
    3537#include <iprt/cpuset.h> /* RTCPUSET_MAX_CPUS */
    3638
     
    131133
    132134/**
     135 * Per VCpu statistics
     136 */
     137typedef struct GVMMSTATSVMCPU
     138{
     139    uint32_t            cWakeUpTimerHits;
     140    uint32_t            cWakeUpTimerMisses;
     141    uint32_t            cWakeUpTimerCanceled;
     142    uint32_t            cWakeUpTimerSameCpu;
     143    STAMPROFILE         Start;
     144    STAMPROFILE         Stop;
     145} GVMMSTATSVMCPU;
     146/** Ptoiner to the GVMM per VCpu statistics. */
     147typedef GVMMSTATSVMCPU *PGVMMSTATSVMCPU;
     148
     149/**
    133150 * The GVMM statistics.
    134151 */
     
    147164    /** The number of valid entries in aHostCpus. */
    148165    uint32_t            cHostCpus;
     166    /** Per EMT statistics for the specified VM, zero if non specified. */
     167    GVMMSTATSVMCPU      aVCpus[VMM_MAX_CPU_COUNT];
    149168    /** Per host CPU statistics. */
    150169    GVMMSTATSHOSTCPU    aHostCpus[RTCPUSET_MAX_CPUS];
  • trunk/include/VBox/vmm/uvm.h

    r86699 r92892  
    139139        struct STAMUSERPERVM    s;
    140140#endif
    141         uint8_t                 padding[25056];
     141        uint8_t                 padding[30208];
    142142    } stam;
    143143
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette