convert to uatomic ops
[ust.git] / tests / test-nevents / prog.c
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 const char teststr[] = "Hello World! 1234567890abc";
11 void *ptrs[N_ITER];
12
13 for(i=0; i<N_ITER; i++) {
14 trace_mark(ust, an_event, "%d", i);
15 trace_mark(ust, another_event, "%s", "Hello, World!");
16 }
17
18 // ltt_trace_stop("auto");
19 // ltt_trace_destroy("auto");
20 // sleep(2);
21
22 return 0;
23 }
This page took 0.029906 seconds and 4 git commands to generate.