Changeset 53058 in vbox
- Timestamp:
- Oct 14, 2014 4:02:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrv.c
r53054 r53058 6422 6422 * @remarks Measuring TSC deltas between the CPUs is tricky because we need to 6423 6423 * 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. 6428 6429 * 6429 6430 * 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.