GithubHelp home page GithubHelp logo

jcaesar / eti-gp-ss12-p5 Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 9.64 MB

Haskell 0.05% C++ 1.65% C 95.12% Ruby 0.15% Java 0.60% Shell 0.22% JavaScript 0.02% Objective-C 0.35% Perl 0.45% Racket 0.05% Assembly 1.34%

eti-gp-ss12-p5's Introduction

Source of the ETI Lab
"Cache Simulator for Visualizing Cache Behavior"


Generator for memory access events: McTracer
===================================================


mctracer-vg370.patch was a patch for the original source of valgrind 3.7.0
and contained the mctracer-tool. This tool was made to relay memory accesses
to an external program, e.g. a cache simulator, over shared memory.

Installation
------------

Requirements:
* "Current" linux distro
* "gcc" (C-Compiler), "automake" installed
* Git 

Installation:
git clone https://github.com/bucjac/ETI-GP-SS12-P5.git PROJECTPATH
cd PROJECTPATH
./init.sh

Instead of letting init.sh take care of the building, you can do it manually.
cd valgrind-source
./autogen.sh
./configure --prefix=<Install path for valgrind>
make
make install
cd ..
cd example
make
cd ..

Note: The valgrind makefiles choke on CC="ccache gcc"


Using mctracer as a valgrind module
-----------------------------------
Using mctracer is only possible with adjustments to your code. Without
information on size and structure of memory areas being used in the simulation,
no meaningfull analysis can be made.
The valgrind client calls that are used for this are documented in the user
documentation.

Testing:

 valgrind --tool=mctracer example/redblack

This instructs valgrind to run mctracer and the heat distribution simulation
redblack. mctracer will collect infomation on accesses on the memory area which
is used for the simulation. McTracer will save the result of its analysis to
./redblack.etis
That file can be viewed with ./gui/dist/EtiGP.jar


Viel Spass,
Josef Weidendorfer
  - Dankesehr!

eti-gp-ss12-p5's People

Contributors

buchgr avatar durner avatar ke-kx avatar philipbecker avatar wimmers avatar

Watchers

 avatar  avatar

Forkers

ke-kx

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.