From b6627f53bf459334446bb1e2c51728a764c8651d Mon Sep 17 00:00:00 2001 From: johannst Date: Fri, 14 Mar 2025 01:19:37 +0000 Subject: deploy: cb9e06f3a5bd9d42494e6abdaf61fb3fe19d4ea4 --- trace_profile/vtune/main.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 trace_profile/vtune/main.c (limited to 'trace_profile/vtune/main.c') diff --git a/trace_profile/vtune/main.c b/trace_profile/vtune/main.c new file mode 100644 index 0000000..8c019d3 --- /dev/null +++ b/trace_profile/vtune/main.c @@ -0,0 +1,32 @@ +#include + +void init(); +void compute(); +void shutdown(); + +int main() { + init(); + + __itt_resume(); + compute(); + __itt_pause(); + + shutdown(); + return 0; +} + +// + +#include + +void init() { + sleep(1); +} + +void compute() { + sleep(1); +} + +void shutdown() { + sleep(1); +} -- cgit v1.2.3