Step 1: Call init_transaction_state(num_threads) before thread creation
Step 2: Call set_transaction_registers(thread_id) before a thread starts
executing transactions.
Binding threads to processors is highly recommended.
Hope this answers your questions...
Jayaram
Fuad Tabba wrote:
Hi,
I'm an old user of GEMS 1.3, I'm now migrating to GEMS 2.1,
specifically to use the LogTM SE simulation. After reading the page TM
Workload Setup
(http://www.cs.wisc.edu/gems/doc/wiki/moin.cgi/TM_Workload_Setup) , it
doesn't seem to be as straightforward as I initially thought it would
be. I thought that all I needed to do was redefine the magic calls
that would begin and commit a transaction in the old LogTM, but if I
understand that page correctly, some data structures need to be
initialized first....
Anyone can point me in the direction of the easiest way to port
existing code based on the old LogTM to the new one? Something along
the lines of the minimum that needs to be done to get old code running
the old LogTM to work with LogTM SE.
Thanks.
Cheers,
/Fuad
------------------------------------------------------------------------
_______________________________________________
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.
|