VirtualBox

Changeset 53058 in vbox


Ignore:
Timestamp:
Oct 14, 2014 4:02:14 PM (10 years ago)
Author:
vboxsync
Message:

HostDrivers/support: comment.

File:
1 edited

Legend:

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

    r53054 r53058  
    64226422 * @remarks Measuring TSC deltas between the CPUs is tricky because we need to
    64236423 *     read the TSC at exactly the same time on both the master and the worker
    6424  *     CPUs. Due to DMA, bus arbitration, cache locality, contention, pipelining
    6425  *     etc. there is no guaranteed way of doing this on x86 CPUs. We try to
    6426  *     minimize the measurement error by computing the minimum read time of the
    6427  *     compare statement in the worker by taking TSC measurements across it.
     6424 *     CPUs. Due to DMA, bus arbitration, cache locality, contention, SMI,
     6425 *     pipelining etc. there is no guaranteed way of doing this on x86 CPUs. We
     6426 *     try to minimize the measurement error by computing the minimum read time
     6427 *     of the compare statement in the worker by taking TSC measurements across
     6428 *     it.
    64286429 *
    64296430 *     We ignore the first few runs of the loop in order to prime the cache.
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