From: Robin G. <Rob...@an...> - 2006-04-19 12:05:44
|
Carmen, Attached is a patch that adds performance counter support with the perfctr library to JikesRVM on several processors including the PowerPC 970. You would need to update it for the PPC 750. The perfctr libraries are available at http://user.it.uu.se/~mikpe/linux/perfctr/ The main thing you need is the register settings to specify particular counters, and these can be found in either the processor documentation (most definitive but often difficult to interpret), or other libraries/packages such as oprofile, papi etc (which should probably not be trusted 100%). I hope to get this committed to CVS as soon as I get time to clean it up sufficiently for general release. cheers, Robin Eliot Moss wrote: >Carmen -- I think some folks did get the perfctrs working on PPC/Linux, but >I'm not sure. I would expect that the usual cycle counter would be the same >as PM_CYCLES, modulo possible slight differences in how/when the counter is >read -- but these should be slight. But someone else may be able to give an >authoritative answer on this point. > >-- Eliot > > >------------------------------------------------------- >This SF.Net email is sponsored by xPML, a groundbreaking scripting language >that extends applications into web and mobile media. Attend the live webcast >and join the prime developer group breaking into this new coding territory! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >_______________________________________________ >Jikesrvm-researchers mailing list >Jik...@li... >https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers > > |