Intel® Inspector 2013 Help
|
Product Changes Under Evaluation |
Benefits |
|---|---|
|
New threading error analysis configuration setting |
Speed up data race detection while still detecting majority of data race problems. |
Data race detection during threading error analysis can be slow because the Intel Inspector monitors every synchronization, every function call, and every memory access in your application to find as many data race problems as it can.
Often the vast majority, if not all, of the memory accesses are not involved in any data races.
The new sampling feature is designed to cut down on this wasted work.
The sampling feature selects a small percentage of the total memory accesses in an application to analyze. This decision is based loosely on the frequency of execution of the code path containing the instruction that accesses the memory location, and favors code paths that execute less frequently, ensuring that every code path is analyzed at least once.
No sampling technique can guarantee to detect all the problems detected during a full analysis because one can always find an example where a bug occurs only on a skipped memory access. Nevertheless, experiments have shown this sampling technique to be significantly faster for applications with a large percentage of parallel code. Just be aware: Sampling effectiveness is application dependent.
Supplemental documentation specific to a particular Intel Studio may be available at <install-dir>/<studio>/documentation/.