If you want to call that function every number of cycles, you can put a
call to that in opal/system/system.C. WATTCH's power stats are collected every
cycle through a call to pseq_t::updatePowerStats(). You can do something
similar and provide the appropriate wrapper code.
Luke
On Wed, 2 Apr 2008, Serkan Ozdemir wrote:
Hi,
I've been trying to use the power module provided by GEMS (under gems-2.1/opal/power/) but I couldn't figure out where and how to call specific functions (such as output_periodic_power) defined in power.[C/h] since no other part of the simulator currently utilizes them. I would appreciate any help or information you could provide.
I'm using GEMS v2.1 along with SIMICS v2.2.19.
Thanks in advance,
Serkan Ozdemir
PhD Candidate
Dept of EECS
Northwestern University
|