Hello!

Can anyone tell me, is it possible to collect number of fetches and cache misses for a particular array using Callgrind/Cachegrind?
For example, I have such fragment:

                for (j = 0; j < length; j++) {
                        for (i = ip[j]; i <= ip[j+1]-1; i++) {
                                b[ia[i]] = b[ia[i]] + a[i]*x[j];
                        }
                }

And I want to collect information only about array /b/. How can this be done?

Thanks in advance!

--
With regards,
Vadim Voevodin.

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to