- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
During evaulating intel parallel studio, it shows weird call tree so I cannot figure out the performance bottlenecks.
Here's one example. CriticalSection::Lock never calls IsExistant and Alloc.

Of course, the pdb file is up-to-date. I completely disabled compiler optimization settings and the problem continues.
Any helps are welcomed. Thanks in advance.
Here's one example. CriticalSection::Lock never calls IsExistant and Alloc.
Of course, the pdb file is up-to-date. I completely disabled compiler optimization settings and the problem continues.
Any helps are welcomed. Thanks in advance.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is that possible that methods IsExistant and Alloc are located further in the call stack for CriticalSection::Lock? In some cases Amplifier can miss frames in a chain due to incomplete information.
Which compiler and version?
Which compiler and version?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Vladimir Tsymbal (Intel)
Is that possible that methods IsExistant and Alloc are located further in the call stack for CriticalSection::Lock? In some cases Amplifier can miss frames in a chain due to incomplete information.
Which compiler and version?
Which compiler and version?
No. because of "CriticalSection.Lock() { EnterCriticalSection(&m_cs); }"
Build environments:
Windows Server 2008 x64
Visual Studio 2008 SP1(no modifications or C runtime library nor rebuilds)
Compiler settings: x64, DLL C runtime library, no optimizations, no inline function, NO omit frame buffer, no .net framework usage, NO Intel C++ compiler
By the way, class CriticalSection is wrapped by this pragma:
#pragma managed(push, off)
#pragma managed(pop)
(details: http://msdn.microsoft.com/en-us/library/0adb9zxe(VS.80).aspx)

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page