Commit | Line | Data |
---|---|---|
1 | #include <string.h> | |
2 | #include <stdlib.h> | |
3 | #include <ust/ust.h> | |
4 | ||
5 | #define N_ITER 100000 | |
6 | ||
7 | int main() | |
8 | { | |
9 | int i; | |
10 | ||
11 | for(i=0; i<N_ITER; i++) { | |
12 | trace_mark(ust, an_event, "%d", i); | |
13 | trace_mark(ust, another_event, "%s", "Hello, World!"); | |
14 | } | |
15 | ||
16 | return 0; | |
17 | } |