VirtualBox

Changeset 9904 in vbox for trunk/src/VBox/Main/idl


Ignore:
Timestamp:
Jun 25, 2008 11:03:03 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
32323
Message:

Global and per-VM CPU usage API added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r9883 r9904  
    24952495  <interface
    24962496     name="IMachine" extends="$unknown"
    2497      uuid="ceb17b5b-fd1f-424f-9dd3-2ab04c06eefc"
     2497     uuid="d6181581-e7c7-418a-b3b6-2da10b11a763"
    24982498     wsmap="managed"
    24992499     >
     
    35043504    </method>
    35053505
     3506    <method name="getProcessorUsage">
     3507      <desc>
     3508        Returns the current processor usage measured over all cores of all
     3509        processors in the host system.
     3510
     3511        <note>
     3512          The maximum value is 1000000000 which means that all cores of all CPUs
     3513          are completely used.
     3514        </note>
     3515      </desc>
     3516      <param name="user" type="unsigned long" dir="out">
     3517        <desc>The pecentage of processor time spent executing in user
     3518          mode.
     3519        </desc>
     3520      </param>
     3521      <param name="system" type="unsigned long" dir="out">
     3522        <desc>The pecentage of processor time spent executing in kernel
     3523          mode.
     3524        </desc>
     3525      </param>
     3526    </method>
     3527
    35063528  </interface>
    35073529
     
    47944816  <interface
    47954817     name="IHost" extends="$unknown"
    4796      uuid="81729c26-1aec-46f5-b7c0-cc7364738fdb"
     4818     uuid="a42a480f-d554-4be0-b11c-6c2e54dd1274"
    47974819     wsmap="managed"
    47984820     >
     
    50205042    </method>
    50215043
     5044    <method name="getProcessorUsage">
     5045      <desc>
     5046        Returns the current processor usage measured over all cores of all
     5047        processors in the host system.
     5048
     5049        <note>
     5050          The maximum value is 1000000000 which means that all cores of all CPUs
     5051          are completely used.
     5052        </note>
     5053      </desc>
     5054      <param name="user" type="unsigned long" dir="out">
     5055        <desc>The pecentage of processor time spent executing in user
     5056          mode.
     5057        </desc>
     5058      </param>
     5059      <param name="system" type="unsigned long" dir="out">
     5060        <desc>The pecentage of processor time spent executing in kernel
     5061          mode.
     5062        </desc>
     5063      </param>
     5064      <param name="idle" type="unsigned long" dir="out">
     5065        <desc>The pecentage of processor time spent doing nothing.
     5066        </desc>
     5067      </param>
     5068    </method>
    50225069  </interface>
    50235070
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