VirtualBox

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


Ignore:
Timestamp:
Aug 19, 2008 12:30:13 PM (16 years ago)
Author:
vboxsync
Message:

PerfAPI: RTCPUID usage fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/linux/PerformanceLinux.cpp

    r11478 r11483  
    101101
    102102    for (RTCPUID i = 0; i < nProcessors; ++i)
    103         uTotalMHz += RTMpGetCurFrequency(i);
     103        uTotalMHz += RTMpGetCurFrequency(RTMpCpuIdFromSetIndex(i));
    104104
    105105    *mhz = (ULONG)(uTotalMHz / nProcessors);
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