Home - GarCoSim/TraceFileSim GitHub Wiki
Introduction
Start by reading these slides
Getting Started
- Check out the code
- Navigate to root/Debug
- Type "make" (withouth the quotation marks)
- Run TraceFileSimulator (executable name might have a different ending depending on OS)
Tracefile Format
The tracefile accepts the following commands:
a Tt Oo Ss Nn Ccallocates objectoto threadtwith a size ofsbytes,npointers and classc+ Tt Ooadds objectoto the rootset of threadt- Tt Ooremoves objectofrom the rootset of threadt- Tt Ccremoves classcfrom the rootset of threadtw Tt Pp #n Oowrite reference to objectointo slot numbernof parent objectpin threadtc Tt Cc Oochange the class of objectoin threadtto classcr Tt Ooread from objectoin threadt
Troubleshooting
- We have tested our code under Ubuntu 14.10 64-bit, Windows 7 64-bit, and Mac OS X 10.10 64-bit. Other OS might work as well, but we did not test them yet.
- For editing we either recommend Eclipse for a heavyweight IDE or Sublime Text for a lightweight IDE