diff options
Diffstat (limited to 'src/trace_profile/vtune/main.c')
-rw-r--r-- | src/trace_profile/vtune/main.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/trace_profile/vtune/main.c b/src/trace_profile/vtune/main.c new file mode 100644 index 0000000..8c019d3 --- /dev/null +++ b/src/trace_profile/vtune/main.c @@ -0,0 +1,32 @@ +#include <ittnotify.h> + +void init(); +void compute(); +void shutdown(); + +int main() { + init(); + + __itt_resume(); + compute(); + __itt_pause(); + + shutdown(); + return 0; +} + +// + +#include <unistd.h> + +void init() { + sleep(1); +} + +void compute() { + sleep(1); +} + +void shutdown() { + sleep(1); +} |