Débogage

The Intel® Parallel Studio XE 2016 Beta program is now available!

In this beta test, you will have early access to Intel® Parallel Studio XE 2016 products and the opportunity to provide feedback to help make our products better.  Registration is easy through the pre-Beta survey site.

 

This suite of products brings together exciting new technologies along with improvements to Intel’s existing software development tools:

 

Intel(r) Parallel Studio XE 2015 Professional Edition

The latest release of Intel(r) Parallel Studio is now available.

If you have an active support license for Intel Parallel Studio, the Intel® Parallel Studio XE 2015 products are now available for download from the Intel® Registration Center.

New features for Intel® Inspector XE 2015:

spring3+hibernate4 service 中多线程事务异常及解决

初次使用spring3结合hibernate4做项目,迅速配置完成,测试,一切正常。

然而,当我在service层中另外开启一个线程,线程中的方法需要进行数据库操作,这个时候,悲催的抛出了异常:-org.hibernate.HibernateException: No Session found for current thread

当然,hibernate4的session是和当前线程绑定的,多线程中用sessionFactory.getCurrentSession()获取当前session自然不存在,不存在又不会自动创建,所以抛出了异常,无可厚非。

于是就想着怎么解决这个问题。

遍翻google、baidu,大部分都说如何如何配置,设置事务的传播属性propagation="REQUIRED",开启opensessioninview filter等等,无一对此问题有何解释(当然或许是我没翻到,有知道的麻烦告知)

在http://sishuok.com/forum/blogPost/list/2625.html#7523上看到相关配置,我就想作者这个项目该多线程运行正常吧,果断下载源码,修改测试,oh。。。跟我的错一模一样!

Welcome to the Debug Solutions User Forum

This user support forum is the place to ask questions and consult with fellow developers on topics related to all of Intel's debug solutions. Please feel free to submit questions and start discussions at

Debug Solutions User Forum

http://software.intel.com/en-us/forums/debug-solutions/

The topics may range from GDB*, Intel JTAG Debugger, Intel Debugger, Intel Parallel Debugger Extension, and Intel Fortran Expression Evaluation to Debug Methodologies, and Tips and Tricks.

debugger help file out of sync with xdb prompt help

At xdb prompt I type "efi" and see many commands, including EFI "LOADMODFROMMAP %s %s"

This command, and probably others, isn't listed in Debugger Help => Help Contents.

Request: please scrub all Help documentation to ensure it is in sync with the app's help output.

 

Finding functions which take the highest wall clock time

Hi all,

I've just started using VTune amplifier to profile my code, and I have a very basic question. How do I find functions that are taking the most wall clock time overall, and the most wall clock time per invocation? Basically, I have a Fortran application with regions of OpenMP parallel code and regions of serial code. My aim is to figure out if any of the serial regions can be speeded up by parallelizing them, for which I first need to find out what the time consuming serial portions are.

Thanks in advance,

Sourish

Profiling I/O bound applications with Vtune

Hi,

I am currently using the basic analysis tools in the Vtune profiler. I see that CPU bound profiling is well supported and also lock and spin waiting time is measured. How about I/O operations and syscall waiting times (i.e. wall clock times)? Are they measured in Vtune at all? If yes, which view supposed to show them? Are they only available in the advanced analysis?

Thanks

S’abonner à Débogage