Skip to content
This repository

A Comprehensive Compiler-Assisted Thread Abstraction for Resource-Constrained Systems

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 applications
Octocat-spinner-32 benchmark
Octocat-spinner-32 ocram
Octocat-spinner-32 patches
Octocat-spinner-32 ruab
Octocat-spinner-32 try
Octocat-spinner-32 util
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.mkd
Octocat-spinner-32 Setup.hs
Octocat-spinner-32 diff
Octocat-spinner-32 fixit
Octocat-spinner-32 make
Octocat-spinner-32 setup
README.mkd

Dependencies

Note:

  • of course, different versions might work as well. This is what worked for us.
  • if you just want to build and test Ocram itself, GHC and cabal-dev are enough.

Building and Testing Ocram

$ cd /path/to/repository
$ source ./setup
$ cd ocram
$ cabal-dev install
$ ./make

Running the evaluation

Setup Contiki chroot

  • we recommend debootstrap
  • configure schroot (use chroot name "contiki")
  • install the following packages in the chroot:
    • msp430-gcc
    • JDK
    • Ant

Prepare Cooja

$ schroot -c contiki
$ cd /path/to/contiki/tools/cooja
$ ant jar

Run the evaluation

$ cd /path/to/repository
$ source ./setup
$ cd applications/contiki
$ make plot

See the results

  • */bench.results
  • plots/numbers.txt
  • plots/*.png
Something went wrong with that request. Please try again.