Open main menu

CDOT Wiki β

Changes

DPS921/Intel Parallel Studio Inspector

36 bytes added, 01:32, 29 November 2020
Different Analysis Level
[[File:DeadlockLevels.png|700px]]
'''Detect Deadlocks: ''' when two or more threads are permanently stuck because no thread will give up its current lock until it can take the next one. But that lock is being held by another thread in the same position.
'''Detect deadlocks & data races: ''' will do exactly what I explained earlier plus detect data races. Data races is when the outcome of an operation can change depending on what order the thread reached in.
'''Locate deadlocks & data races: ''' is more detail with a smaller granularity deeper default stack frame depth and configurable scope.
The three levels for memory error analysis are detect leaks, detect memory problems and locate memory problems.
[[File:MemoryLevels.png|700px]]
'''Detect Leaks: ''' just tracks whether the memory allocating gets deallocated.
'''Detect Memory Problems: ''' Expands on detect leaks by also detecting bad interaction of memory such as invalid memory access, as well as enabling real time analysis.
'''Locate Memory Problems: ''' Is similar to detect memory problems but more detailed. With a deeper default stack frame depth and guard zones which shows offsets of memory accesses of allocated blocks.
In the inspector the button “Reset Leak Tracking”, stops tracking all currently allocated memory for leaks, discarding associated tracking data without reporting it.
150
edits