a12n / ocaml-coz

OCaml interface to Coz causal profiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OCaml interface to Coz causal profiler.

First, build everything (the base compiler and all programm dependencies) with -gdwarf-3:

export CFLAGS=-gdwarf-3
opam switch create …
opam install …
dune build …

Build the toy example:

dune build ./example/toy.exe

Install coz in Debian or Ubuntu:

sudo apt-get install coz-profiler

Run the native binary with coz and plot the results:

coz run --- ./_build/default/example/toy.exe
coz plot

About

OCaml interface to Coz causal profiler


Languages

Language:OCaml 64.8%Language:C 35.2%