On Thu, 2008-06-12 at 15:40 -0400, Dan Terpstra wrote: > Hi - > In preliminary testing of PAPI on perfmon2/Cell, it appears that the CYCLES > event produced by pfm_get_cycle_event() is not virtualized beyond 32 bits. > One of the basic PAPI tests shows this quite clearly:
Virtual 64 bit counters on CELL do work. The virtual counters work for the CPC tool which works directly on the perfmon2 API. Please make sure that the CELL pm_status register is configured to enable interrupts on counter overflow for the counter you are using. Bits 0:7 of the 32 bit register where (0 is the MSB and 31 is the LSB) correspond to the 8 16 bit counters. For CELL, we only support 32 bits which means you need to set bits 0:3 in the register for counters 0 to 3. <snip> > Is this (not) happening in the kernel or in the libpfm layer? > Does the same apply to other events as well? > > - d > This will be true for all events. Carl Love ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel