VirtualBox

Changeset 82990 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Feb 5, 2020 11:43:13 AM (5 years ago)
Author:
vboxsync
Message:

VMM/GMMR0: Added TLB statistics for GMMR0PageIdToVirt. bugref:9627

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

Legend:

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

    r82968 r82990  
    14351435    } cfgm;
    14361436
     1437    /** Statistics for ring-0 only components. */
     1438    struct
     1439    {
     1440        /** GMMR0 stats. */
     1441        struct
     1442        {
     1443            /** Chunk TLB hits. */
     1444            uint64_t    cChunkTlbHits;
     1445            /** Chunk TLB misses. */
     1446            uint64_t    cChunkTlbMisses;
     1447        } gmm;
     1448        uint64_t    au64Padding[6];     /* probably more comming here... */
     1449    } R0Stats;
     1450
    14371451    /** Padding for aligning the structure size on a page boundrary. */
    1438     uint8_t         abAlignment2[664 - 64 + 256 - sizeof(PVMCPUR3) * VMM_MAX_CPU_COUNT];
     1452    uint8_t         abAlignment2[600 - 64 + 256 - sizeof(PVMCPUR3) * VMM_MAX_CPU_COUNT];
    14391453
    14401454    /* ---- end small stuff ---- */
  • trunk/include/VBox/vmm/vm.mac

    r82968 r82990  
    137137    .vm                     resb 32
    138138    .cfgm                   resb 8
     139    .R0Stats                resb 64
    139140
    140     .abAlignment2           resb 664 - 64 + 256 - RTR0PTR_CB * VMM_MAX_CPU_COUNT
     141    .abAlignment2           resb 600 - 64 + 256 - RTR0PTR_CB * VMM_MAX_CPU_COUNT
    141142
    142143    alignb RTR0PTR_CB * VMM_MAX_CPU_COUNT ; ASSUMES VMM_MAX_CPU_COUNT is a power of two.
Note: See TracChangeset for help on using the changeset viewer.

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