Skip to content

CMUAbstract/twill

Repository files navigation

twill

This repo houses a discrete event simulation infrastructure that uses cooperative threads (i.e., boost::context::continuation).

Build

Use CMake to build (defaults to a Release build):

mkdir build ;
cd build ;
cmake -G Ninja -DCMAKE_BUILD_TYPE=[Release|Debug|RelWithDebInfo] .. ;
ninja

Tests

Unit tests are available in tests/ and are built along with the rest of the source code.

To run tests, use ctest:

cd build ;
ctest -V --output-on-failure ; # You can view the specific commands that `ctest` runs in the console output.

To add a new test, simply add a .cpp file to tests/ that has a main method. Then, run:

cd build ;
ninja ;
ctest -V --output-on-failure ;

About

A cooperative threading framework for architectural simulation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •