Re: [Gems-users] opal stats


Date: Thu, 05 Oct 2006 07:57:10 -0500
From: Dan Gibson <degibson@xxxxxxxx>
Subject: Re: [Gems-users] opal stats
Tom,
This is a limitation of Opal. Specifically, Opal doesn't provide a way to dump stats repeatedly in the course of a single execution. If you wanted to add this functionality, I'd suggest you have a look at how Opal (and Ruby) commands are implemented. The relevant files are: opal/module/commands.py: Commands are listed in python form for the Simics CLI, and associated with a "set attribute" call.
opal/module/opal.c: Commands are instantiated, grep for OPAL_COMMAND
opal/system/hfa.C: hfa_dispatch_set() is the entry point for most commands.
opal/system/pseq.C: Implements some of the functionality of the various commands

Regards,
Dan Gibson

Thomas Yeh wrote:
Hi Dan,

What I meant is to be able to dump multiple snapshots of the opal stats to different files. I assume sim-start will startup the opal0 which should only be done at init time right?

By the way, I am registered on the usergroup but I don't receive any of the emails.

Tom

---------------------------------------------------

Opal's output file is given as a parameter to the opal0.sim-start command.

To see a complete list of commands supported by opal (or any Simics module, for that matter), type into the simics console:

opal0.[tab]

Regards,
Dan Gibson

Thomas Yeh wrote:

Is there a way to control dump opal stats to a particular file or reset opal stats similar to how ruby stats?

     thx,
     Tom

     _______________________________________________
     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.



_______________________________________________
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.


[← Prev in Thread] Current Thread [Next in Thread→]