#11 opt: replace pow() with custom pow4() to perform x^4

closed-accepted
nobody
None
5
2004-12-10
2004-12-08
No

time encoder/dirac_encoder -verbose -start 0 -stop 9
squirrel-720x576x50 squirrel-720x576x50_dirac

without opt.:

...
The resulting bit-rate at 1Hz is 270564 bits/sec.
real 0m36.736s
user 0m27.902s
sys 0m0.460s

CPU: Athlon, speed 1399.94 MHz (estimated)
Counted CPU_CLK_UNHALTED events count 100000
samples % symbol name
90939 24.1930 dirac::SimpleBlockDiffUp::Diff
64790 17.2364 libm-2.3.2.so <-- this is pow()
23570 6.2705 dirac::AddVect
19535 5.1970 dirac::SimpleBlockDiff::Diff
19124 5.0877 dirac::CompCompressor::SelectQuant
17516 4.6599 libc-2.3.2.so
14128 3.7585 dirac::BChkBlockDiffUp::Diff

with opt.:

...
The resulting bit-rate at 1Hz is 270564 bits/sec.
real 0m29.605s
user 0m22.415s
sys 0m0.511s

oprofiler report:
CPU: Athlon, speed 1399.94 MHz (estimated)
Counted CPU_CLK_UNHALTED events count 100000
samples % symbol name
90854 30.0051 dirac::SimpleBlockDiffUp::Diff
23898 7.8925 dirac::AddVect
19407 6.4093 dirac::SimpleBlockDiff::Diff
17880 5.9050 libc-2.3.2.so (no symbols)
14139 4.6695 dirac::BChkBlockDiffUp::Diff

Discussion

  • Peter Meerwald

    Peter Meerwald - 2004-12-08

    replace pow() with custom pow4() to perform x^4

     
  • Anuradha Suraparaju

    Logged In: YES
    user_id=692051

    Applied the patch with a few other fixes to comp_compress.cpp
    new revision: 1.16; previous revision: 1.15

     
  • Anuradha Suraparaju

    • status: open --> closed-accepted
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks