Profiling hooks in Spec CPU2000 benchmarks (was invoking Spe
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
Profiling hooks in Spec CPU2000 benchmarks (was invoking Spe

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Computer Architecture
Author Message
John Doe
Guest





Posted: Sun Oct 30, 2005 11:55 pm    Post subject: Profiling hooks in Spec CPU2000 benchmarks (was invoking Spe Reply with quote

Hello,

I have a question for any Spec CPU gurus here.

I am trying to run a spec benchmark over many iterations and keep track of
the clock cycles in each iteration using the processor timestamp counter.
The spec documentation stated that there are a number of config file hooks
that can be used for profiling and feedback-directed optimizations. I tried
to use the fdo_preN and fdo_postN options to insert the appropriate shell
commands before and after each iteration of the benchmark.

However, there are two problems. First, these options cause the commands to
be executed either during the compilation of the benchmarks (using specmake)
or during
the training runs for feedback directed optimization, but NOT during the
subsequent runs of the benchmarks. I am not interested in feedback directed
optimization. All I want are some hooks that will allow me to execute my
commands before and after each *run* of the benchmark, after everything has
been compiled. Second, these hooks force me to explicitly specify the number
of the iteration. (fdo_pre1 =..., fdo_pre2 = ... etc.) I can't simply say,
"For every iteration, insert the following commands before and after the
iteration."

Any suggestions?

Vasanth
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Computer Architecture All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB