Hi,
Thanks for the info. However, if I set the WATTCH_POWER flag in
/opal/config/config.defaults to 1 to report power (instead of the default
value 0), re-compile opal (without any errors as far as I can tell) and
initilize in simics using opal0.init I get the following error:
---
... bunch of warnings in pstate_t: warning: control register #XX == "(null)"
has simics name "xy". --i get this even if WATTCH_POWER=0
***Simics getting shaky, switching to 'safe' mode.
Simics (main thread) received a segmentation fault. Will try to recuperate.
---
Any idea what might be wrong?
thanks,
_Serkan_
----- Original Message -----
From: "Luke Yen" <lyen@xxxxxxxxxxx>
To: "Gems Users" <gems-users@xxxxxxxxxxx>
Sent: Thursday, April 03, 2008 4:03 PM
Subject: Re: [Gems-users] Fw: Question about the power module in Opal-GEMS
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
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding
"site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
|