Re: [Gems-users] pass in parameters to ruby at run-time


Date: Fri, 19 Oct 2007 06:56:16 -0500
From: Dan Gibson <degibson@xxxxxxxx>
Subject: Re: [Gems-users] pass in parameters to ruby at run-time
Ignore my response -- do this instead.

Jayaram Bobba wrote:
It is possible to first write the value to a register and then use a 
magic-instruction to inform ruby to look at that register. Take a look
at ruby_watch() in $GEMS/microbenchmarks/transactional/common/transaction.c

Jayaram

Carole-Jean Wu wrote:
  
Hello,
Does anyone know how to pass in dynamic data values (e.g. addresses 
that are determined at run-time) to ruby? From my understanding, 
magic-instructions don't help in this case. (Please correct me if I am 
wrong.)

Thanks,
Carole
------------------------------------------------------------------------

_______________________________________________
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→]