VirtualBox

Ignore:
Timestamp:
Mar 31, 2010 12:16:27 PM (15 years ago)
Author:
vboxsync
Message:

Metrics: work in progress

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/GuestImpl.cpp

    r27852 r27885  
    218218}
    219219
    220 HRESULT Guest::GetStatisticsUpdateInterval (ULONG *aUpdateInterval)
     220STDMETHODIMP Guest::COMGETTER(StatisticsUpdateInterval)(ULONG *aUpdateInterval)
    221221{
    222222    CheckComArgOutPointerValid(aUpdateInterval);
     
    224224    AutoCaller autoCaller(this);
    225225    if (FAILED(autoCaller.rc())) return autoCaller.rc();
    226 
     226 
    227227    AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS);
    228228
    229229    *aUpdateInterval = mStatUpdateInterval;
    230 
    231     return S_OK;
    232 }
    233 
    234 HRESULT Guest::SetStatisticsUpdateInterval (ULONG aUpdateInterval)
     230    return S_OK;
     231}
     232
     233STDMETHODIMP Guest::COMSETTER(StatisticsUpdateInterval)(ULONG aUpdateInterval)
    235234{
    236235    AutoCaller autoCaller(this);
     
    247246    return S_OK;
    248247}
     248
     249STDMETHODIMP Guest::InternalGetStatistics(ULONG aCpuId, ULONG *aCpuUser, ULONG *aCpuKernel, ULONG *aCpuIdle,
     250                                          ULONG *aMemTotal, ULONG *aMemFree, ULONG *aMemBalloon, ULONG *aMemCache,
     251                                          ULONG *aPageTotal, ULONG *aPageFree)
     252{
     253    return S_OK;
     254}
     255
    249256
    250257STDMETHODIMP Guest::SetCredentials(IN_BSTR aUserName, IN_BSTR aPassword,
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