README: update installation instructions
[ust.git] / tests / basic / basic.c
1 #include <stdio.h>
2 #include <unistd.h>
3
4 #include "marker.h"
5
6
7 int main()
8 {
9 int i;
10
11 printf("Basic test program\n");
12
13 for(i=0; i<50; i++) {
14 trace_mark(ust, bar, "str %s", "FOOBAZ");
15 trace_mark(ust, bar2, "number1 %d number2 %d", 53, 9800);
16 usleep(100000);
17 }
18
19 return 0;
20 }
21
22 MARKER_LIB;
This page took 0.035984 seconds and 4 git commands to generate.