Dan, one thing we need in order to do this is the code from papi/perfmon for generalized umask bit handling. That uses #defines, but that should be moved to subtrate bits so the range can be configurable.
We will also need the call _papi_hwd_ntv_name_to_code, which currently does not exist in the substrate API. Phil On Tue, 2006-12-12 at 11:17 -0500, Dan Terpstra wrote: > Hi all - > I know there's been a long thread on this topic. > I need a quick refresher. > I'd like to get PAPI to recognize the same syntax for event_name:mask_bit > that perfmon has settled on. > Can someone point me to a succinct summary of that syntax? > For example, the first Opteron event is: > Event Select: 00h -- Dispatched FPU Operations > It supports unit mask bits 01h, 02h, 04h, 08h, 10h, and 20h. > How would this base event and various combinations of its mask bits be > specified to perfmon? How flexible is the syntax wrt ordering, etc? > > Thanx, > - dan > > _______________________________________________ > perfmon mailing list > [email protected] > http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/ _______________________________________________ perfmon mailing list [email protected] http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/
