VirtualBox

Changeset 81049 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Sep 27, 2019 12:18:27 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133652
Message:

SSM: Added a SSMR3HandleTellInUnit api for debugging purposes only.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/SSM.cpp

    r80585 r81049  
    96489648
    96499649
     9650#ifdef DEBUG
     9651/**
     9652 * Gets current data offset, relative to the start of the unit - only for debugging
     9653 */
     9654VMMR3DECL(uint64_t) SSMR3HandleTellInUnit(PSSMHANDLE pSSM)
     9655{
     9656    return ssmR3StrmTell(&pSSM->Strm) - pSSM->offUnitUser;
     9657}
     9658#endif
     9659
     9660
    96509661#ifndef SSM_STANDALONE
    96519662/**
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