Commit | Line | Data |
---|---|---|
1 | #include <stdio.h> | |
2 | #include <unistd.h> | |
3 | #include "marker.h" | |
4 | int main() | |
5 | { | |
6 | int result; | |
7 | int i; | |
8 | ||
9 | // sleep(1); | |
10 | ||
11 | printf("Hello, World!\n"); | |
12 | ||
13 | for(i=0; i<500; i++) { | |
14 | trace_mark(ust, bar, "str %d", i); | |
15 | trace_mark(ust, bar2, "number1 %d number2 %d", (int)53, (int)9800); | |
16 | usleep(20); | |
17 | } | |
18 | ||
19 | return 0; | |
20 | } | |
21 | MARKER_LIB; |