measure costs of computation on mpf t-variables

usenett@gmx.de usenett at gmx.de
Thu Jul 28 12:08:25 CEST 2005


Hi,

i have the following question. I wanted to measure how much cycles an
initialization, multiplication and so on for some special mpf_t variables
costs. Paradoxically the first loop needs quantities more cycles than the
arithmetical average. For the initialization up to 110000 (in average about
420), for the multiplication up to 5000 (in average about 160).
Can anyone explain why this the case?
Is there ay better way to get the costs of some computation than mine?

Part of my source-fragment can be found in the attachment. Im working on
Itanium2 with gcc.

Thanks an greets,
Heinz

-- 
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: itc.txt
Url: http://gmplib.org/list-archives/gmp-discuss/attachments/20050728/c473c0a5/itc.txt


More information about the gmp-discuss mailing list