Hi Stephane, What happens when you: > - modify self to to start/read/stop > - modify your PAPI test to do start/stop/read >
Sorry about this message, it was written in different parts. The attached code (to the previous) has a modified self to start/read/stop,start/read/stop. Due to the semantics of the substrate layer in PAPI, making PAPI_stop do a stop/read would affect all platforms. But I'll check it tomorrow. What happens when you run multiple copies of the previous attached example on your boxes? > > Could this be a CONFIG_PREEMPT issue? I'm thinking that somehow the > > counters are still running > > > I have not tested with with CONFIG_PREEMPT. Try without this option. Will do. > > 2) Of secondary importance at this point, > > > > I noticed that user-mode mmaped counter reads are now gone. Are they > > coming back? I'm a big advocate of this... > > > Wrong, they are still there. You need to ask for this. See self_view.c > for an example. Cool! My mistake. > > 3) Even less important, oh please, when do I get a virtualized cycle > > counter? > > > Not yet implemented but I believe there is enough infrastructure to do > this. Cool again. > > P.P.S. I'm attaching a pfm test case, which when four copies are running > > simultaneously seems to show the variance. > > [EMAIL PROTECTED] libpfm-3.x]$ [perfsel0=0x510079 emask=0x79 umask=0x0 > > os=0 usr=1 en=1 int=1 inv=0 edge=0 cnt_mask=0] CPU_CLK_UNHALTED > > [perfsel1=0x5100c0 emask=0xc0 umask=0x0 os=0 usr=1 en=1 int=1 inv=0 > > edge=0 cnt_mask=0] INST_RETIRED > > [perfsel0=0x510079 emask=0x79 umask=0x0 os=0 usr=1 en=1 int=1 inv=0 > > edge=0 cnt_mask=0] CPU_CLK_UNHALTED > > [perfsel1=0x5100c0 emask=0xc0 umask=0x0 os=0 usr=1 en=1 int=1 inv=0 > > edge=0 cnt_mask=0] INST_RETIRED > > [perfsel0=0x510079 emask=0x79 umask=0x0 os=0 usr=1 en=1 int=1 inv=0 > > edge=0 cnt_mask=0] CPU_CLK_UNHALTED > > [perfsel1=0x5100c0 emask=0xc0 umask=0x0 os=0 usr=1 en=1 int=1 inv=0 > > edge=0 cnt_mask=0] INST_RETIRED > > [perfsel0=0x510079 emask=0x79 umask=0x0 os=0 usr=1 en=1 int=1 inv=0 > > edge=0 cnt_mask=0] CPU_CLK_UNHALTED > > [perfsel1=0x5100c0 emask=0xc0 umask=0x0 os=0 usr=1 en=1 int=1 inv=0 > > edge=0 cnt_mask=0] INST_RETIRED > > PMD0 70001343 CPU_CLK_UNHALTED > > PMD1 89938804 INST_RETIRED > > PMD0 66164489 CPU_CLK_UNHALTED > > PMD1 84920320 INST_RETIRED > > PMD0 66500635 CPU_CLK_UNHALTED > > PMD1 85460041 INST_RETIRED > > PMD0 70031244 CPU_CLK_UNHALTED > > PMD1 90000092 INST_RETIRED > > PMD0 65636983 CPU_CLK_UNHALTED > > PMD1 84354349 INST_RETIRED > > PMD0 101211878 CPU_CLK_UNHALTED > > PMD1 130070012 INST_RETIRED > > PMD0 111426597 CPU_CLK_UNHALTED > > PMD1 143195770 INST_RETIRED > > PMD0 125678282 CPU_CLK_UNHALTED > > PMD1 161509204 INST_RETIRED _______________________________________________ perfmon mailing list [email protected] http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/
