VirtualBox

Changeset 22222 in vbox


Ignore:
Timestamp:
Aug 13, 2009 8:07:02 AM (15 years ago)
Author:
vboxsync
Message:

Calculate delta between two timer callbacks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrv.c

    r21991 r22222  
    52885288    uint64_t    u64CpuHz;
    52895289
     5290    /* Delta between this and the previous update. */
     5291    pGipCpu->u32UpdateIntervalNS = (uint32_t)(u64NanoTS - pGipCpu->u64NanoTS);
     5292
    52905293    /*
    52915294     * Update the NanoTS.
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