Measuring Events within Functions

Aidan Macdonald <[email protected]>
Newsgroups gmane.linux.oprofile
Message-ID <CAJGH0fGzHAGWt3bnrRaubY3xyV-Tu2fOsr9qPfWyZjY6_VujVw@mail.gmail.com>
Hi,

I would like to profile my code similar to "ocount" in that I measure the
amount of events (ie cache misses) that occur, but specify that they happen
at or around certain lines of code.

Is it possible to count the number of cache misses within a single
function? single line of code? a single loop of code? etc?

As a side note, when I use ocount on OpenMP compiled code, are the event
counts for a single thread, or over all.

Thank you,

Aidan Macdonald
805 418 0174
[email protected]
[email protected]

------------------------------------------------------------------------------

_______________________________________________
oprofile-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oprofile-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.