PostAQuestion:Regarding the Intel STM Compiler, can we get some statistics? For example, how many aborts or commits occur as the program is running with n threads? How can I get these values?
From Intel® C++ STM Compiler Prototype Edition 2.0 Language Extensions and User’s Guide :
STM runtime library statistics are controlled by setting the environment variable ITM_STATISTICS using one of the following values:
|
Setting |
Description |
|
none |
No statistics are generated. This is the default mode. |
|
simple |
Only statistics for simple mode are generated. |
|
verbose |
All statistics are generated. |
For more details please refer chapter 8 of the document cited.
Regards,
Serge.