Re: [Gems-users] Interaction between Ruby and benchmarks


Date: Fri, 29 Sep 2006 11:17:01 -0700 (PDT)
From: "Dave Z." <zhu_dave@xxxxxxxxx>
Subject: Re: [Gems-users] Interaction between Ruby and benchmarks
Hello,

I looked at commands.C, ruby.c, and magic_call.c to
see how magic callbacks are defined. I have a few
questions:

- Where are magic_services.h and magic_services.def
files? I couldn't find them in the GEMS directory.

- As my goal is to use this functionality (magic
instructions) to provide prefetching hints, how would
I establish interaction between magic callbacks and
cache controllers? Is it possible? As I understand,
magic callbacks are defined to the system at run-time
and *.sm files are used during compile time to
generate cache controller files.

- I'm planning to modify certain actions and
transitions in the *.sm file, but I don't know if
magic callbacks can be used there. For example, if
MAGIC(100) is called, transition from X --> Y and do
actions A, B, C. Is this possible?

Thank you for your help.

Dave

--- Dan Gibson <degibson@xxxxxxxx> wrote:

> Dave,
> Have a look at how the LogTM release handles
> begin/end transaction 
> instructions. It uses the simics "magic instruction"
> hap, which can be 
> passed a parameter through the value used by the
> sethi instruction. You 
> might be able to leverage this functionality for
> your prefetching hints.
> 
> Regards,
> Dan
> 
> Dave Z. wrote:
> > Hello,
> >
> > I'm looking into ways to establish interaction
> between
> > Ruby and benchmarks. For example, a data-intensive
> > benchmark would provide hints to Ruby, such as
> when it
> > would request data or modify it. This hint would
> be
> > recognized by Ruby as an event, and would result
> in
> > some actions. So, these hints would be
> predetermined
> > and the programmer would insert them while coding
> > benchmarks. Is it possible to implement such
> > interaction in GEMS? If so, could you please give
> me
> > some pointers.
> >
> > Thanks.
> >
> > Dave
> >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com 
> > _______________________________________________
> > 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.
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
[← Prev in Thread] Current Thread [Next in Thread→]