[Ptools-perfapi] Counting FLOPS!

Philip Mucci mucci at cs.utk.edu
Mon Jan 7 21:32:24 EST 2008


Hi Rawan,

On the PAPI web page, you will find instructions on how to download  
the latest copy of PAPI 3.5.x from CVS, the source code control  
system. That version should solve your problems.

Phil

On Dec 30, 2007, at 12:50 PM, Rawan Soudah wrote:

> Hi Phil,
>
> I'm sorry but i'm not sure what you mean. Can you please clarify?
>
> Thanx a lot,
> Rawan
>
>
> On 12/16/07, Philip Mucci <mucci at cs.utk.edu> wrote:
> Rawan, please try the latest from CVS.
>
>
> Phil
>
> On Dec 14, 2007, at 9:01 PM, Rawan Soudah wrote:
>
>> Hi Phil,
>>
>> I've tried PAPI_FP_INS and i've also tried the function  
>> PAPI_flips(&real_time, &proc_time, &flpins, &mflips)
>> But I'm still getting zero's
>>
>> by the way the papi version i've installed papi 3.5.0
>>
>> Regards,
>> Rawan
>>
>> On Dec 14, 2007 12:48 PM, Philip Mucci <mucci at cs.utk.edu> wrote:
>> There's a couple possibilities:
>>
>> 1) The compiler has optimized out your loop and you don't have any
>> flops.
>> 2) Your version of PAPI may be defaulting to counting x87 FP
>> instructions instead of SSE instructions.
>>
>> I would try counting PAPI_FP_INS. If that doesn't work, let us  
>> know...
>>
>> Phil
>>
>>
>>
>> On Dec 13, 2007, at 10:51 PM, Rawan Soudah wrote:
>>
>> > Hello,
>> >
>> > I'm trying to measure Flops of my program, but I keep getting a  
>> zero.
>> > I've installed PAPI on a Pentium III machine, and I've made sure
>> > that the papi_avail test returned that the PAPI_FP_OPS is available
>> > on the machine.
>> > I've tried to create an event and add PAPI_FP_OPS to it only and
>> > start/read/stop my counters. And in a separate test I've also tried
>> > using this function: PAPI_flops(&real_time, &proc_time, &flpins,
>> > &mflops)
>> > but in both cases i got zero flops
>> >
>> > Can someone tell me if there is an alternative way of measuring
>> > flops? and why do I keep getting zero's?
>> >
>> > Thank you for your time.
>> >
>> > Regards,
>> > Rawan Soudah
>>
>> > _______________________________________________
>> > Ptools-perfapi mailing list
>> > Ptools-perfapi at cs.utk.edu
>> > http://lists.cs.utk.edu/listinfo/ptools-perfapi
>>
>>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.eecs.utk.edu/pipermail/ptools-perfapi/attachments/20080107/002ca8bb/attachment.html 


More information about the Ptools-perfapi mailing list