VirtualBox

Changeset 104801 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
May 28, 2024 11:38:27 AM (6 months ago)
Author:
vboxsync
Message:

Recording/Main: Added (release) statistics (via STAM) for getting some numbers out of the current code. Simplified code path for starting/stopping recording within the Display implementation. Left a @todo in Display::attachFramebuffer() [build fix]. bugref:10650

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r104799 r104801  
    30433043            }
    30443044
    3045             STAM_REL_PROFILE_START(&pDisplay->Stats.Recording.profileRecording, b);
     3045            STAM_PROFILE_START(&pDisplay->Stats.Recording.profileRecording, b);
    30463046
    30473047            uint64_t tsNowMs = RTTimeProgramMilliTS();
     
    30543054                    continue;
    30553055
    3056                 STAM_REL_PROFILE_START(&pDisplay->Stats.Monitor[uScreenId].Recording.profileRecording, c);
     3056                STAM_PROFILE_START(&pDisplay->Stats.Monitor[uScreenId].Recording.profileRecording, c);
    30573057
    30583058                DISPLAYFBINFO *pFBInfo = &pDisplay->maFramebuffers[uScreenId];
     
    30973097                }
    30983098
    3099                 STAM_REL_PROFILE_STOP(&pDisplay->Stats.Monitor[uScreenId].Recording.profileRecording, c);
     3099                STAM_PROFILE_STOP(&pDisplay->Stats.Monitor[uScreenId].Recording.profileRecording, c);
    31003100            }
    31013101
    3102             STAM_REL_PROFILE_STOP(&pDisplay->Stats.Recording.profileRecording, b);
     3102            STAM_PROFILE_STOP(&pDisplay->Stats.Recording.profileRecording, b);
    31033103
    31043104        } while (0);
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