I don't see any command line options which limit helgrind to ignoring 
read/write or write/read conflicts and only displaying write/write conflicts.  
Would that be hard to add?

We have situations where we think only 1 thread updates some counter, and 
periodically, another thread reads the value for display.  If there's a 
conflict, we don't really care whether the display shows the before or the 
after value.  However, we are interested in knowing if some other code path 
tries to update the value i.e. we care about write/write conflicts.

Phil
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to