// Example code showing TAU monitoring a threaded application. // This program spawns one thread that calls a bunch of dummy functions // one of which sleeps for five seconds. It demonstrates that data can be // collected for the two threads and displayed according to each thread #include #include #include #include int fourth(void) { cout <<"Reached fourth " << endl; return 0; } int third(void) { cout <<"third calling fourth " <