Skip to content

deepsea-inria/encore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

encore

A C++ library for prototyping the Heartbeat Scheduling algorithm.

Try it out

$ cd encore/example
$ make fib.dbg
$ fib.dbg -algorithm dc -n 20

Example output:

exectime 0.367
nb_promotions 5978
nb_steals 0
nb_stacklet_allocations 0
nb_stacklet_deallocations 0
launch_duration 0.367092
utilization 1
exectime 0.367

Another example

$ fib.dbg -algorithm dc -n 20 -proc 40

Example output:

exectime 0.076
nb_promotions 6144
nb_steals 1220
nb_stacklet_allocations 0
nb_stacklet_deallocations 0
launch_duration 0.0771156
utilization 0.8211
exectime 0.078

Now, a real example

$ cd encore/bench
$ make merge.log
$ merge.log -algorithm encore -n 10000000 -proc 40

Example output:

exectime 0.020
nb_promotions 1590
nb_steals 335
nb_stacklet_allocations 0
nb_stacklet_deallocations 0
launch_duration 0.0215029
utilization 0.702188

Another example

$ convexhull.cilk -algorithm pbbs -proc 40 -type 2d -infile _data/array_point2d_in_circle_large.bin 
$ convexhull.encore -algorithm encore -proc 40 -type 2d -infile _data/array_point2d_in_circle_large.bin 

For viewing the execution

git clone https://github.com/deepsea-inria/pview.git
cd pview
make
alias pview=<your path to pview>/pview/pview

Then:

$ cd encore/bench 
$ merge.log -algorithm encore -n 10000000 -proc 40 --pview
$ pview

About

A C++ library for writing fine-grain parallel programs

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages