measure costs of computation on mpf t-variables
usenett at gmx.de
Thu Jul 28 12:08:25 CEST 2005
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,
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...
More information about the gmp-discuss