VirtualBox

Changeset 53063 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Oct 15, 2014 12:41:35 PM (10 years ago)
Author:
vboxsync
Message:

HostDrivers/Support: Add TSC-delta measurement ioctl interface, fixed spinning on concurrent measurements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/sup.h

    r52618 r53063  
    14341434SUPR3DECL(int) SUPR3ResumeSuspendedKeyboards(void);
    14351435
     1436
     1437/**
     1438 * Measure the TSC-delta for the specified CPU.
     1439 *
     1440 * @returns VBox status code.
     1441 * @param   idCpu               The CPU to measure the TSC-delta for.
     1442 * @param   fAsync              Whether the measurement is asynchronous, returns
     1443 *                              immediately after signalling a measurement
     1444 *                              request.
     1445 * @param   fForce              Whether to perform a measurement even if the
     1446 *                              specified CPU has a (possibly) valid TSC delta.
     1447 * @param   cRetries            Number of times to retry failed delta
     1448 *                              measurements.
     1449 */
     1450SUPR3DECL(int) SUPR3TscDeltaMeasure(RTCPUID idCpu, bool fAsync, bool fForce, uint8_t cRetries);
     1451
    14361452/** @} */
    14371453#endif /* IN_RING3 */
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