From: Philippe E. <ph...@cl...> - 2002-03-06 02:53:23
|
From: "MONTGOMERY,BOB (HP-FtCollins,ex1)" <bob...@hp...> Sent: Tuesday, March 05, 2002 6:06 PM ... > Bob M. > > P.S. for you P4 experts: Is there a counter for CPU clocks in that design > for simple-minded time-based profiling? I took an overly quick look at an Look at 24896604.pdf "Intel Pentium 4 and Intel Xeon processor optimisation" appendix B. It describe the trick to get clock count. This appendix is *the* reference on how to build PPro like events based on the top of P4 hardware. IMHO a right profiling tools for P4 must expose two interface for user for the P4, one abstracting the hardware giving a more intuitive interface and another exposing the low level stuff mainly for experimentation > Intel manual and didn't see it. I thought about trying a quick and dirty > time counter implementation to solve our current profiling needs, and > someone else could do a full-featured port later. We're not playing with > P4's in my group right now, but we've had some requests, and I mentioned to > the requestors that hardware donations to the open source world can often > get results. (Ahem...) I confirm, that's *really* true. regard, Phil |