Code Monkey home page Code Monkey logo

Comments (2)

zhengshi1998 avatar zhengshi1998 commented on August 12, 2024

Hi, rapid is a offline analysis tool. To use rapid, you need to generate some program traces using other tools, such as RV-Predict. Then rapid offers some algorithm options to analysis the data races within the log. Here we provided a few sample traces from other programs.

https://drive.google.com/file/d/1e76onK_a0SOHrEJfiNWpwYR0Wbv_Opu0/view?usp=drive_link

For example I want to apply SHB algo to analyze the trace. Then I goto main function of SHB.java file. You can see it receives some command line options and call the SHBEngine to analyze the trace. To make it simple, you can comment out the CmdOptions line and change the SHBEngine / analyzeTrace line into the following.

SHBEngine engine = new SHBEngine(ParserType.STD, [dir to the std trace]);
engine.analyzeTrace(true, 0);

Here [dir to the std trace] means the location of the std trace file you downloaded from the link above. Then if you run the main function, it will do SHB on the trace, and prints out some analysis result.

from rapid.

bupt01 avatar bupt01 commented on August 12, 2024

Thank you for your prompt response despite your busy schedule. I will carefully study the information you provided. Your work will undoubtedly inspire and assist us greatly.

from rapid.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.