2 #include "application.h"
9 // create yapi run-time environment
12 // redirect standard output
13 ofstream f("./app.out");
16 // redirect standard error
17 ofstream g("./app.err");
18 rte.setErrorStream(g);
20 // create toplevel process network
21 Application app(id("app"));
23 // start the process network and
24 // wait for processes to finish
28 ofstream h("./appworkload.txt");
29 printWorkload(app, h);
31 // generate dotty file
32 ofstream i("./app.dot");