reorganize test programs into tests/ directory
[ust.git] / tests / hello2 / hello2.c
diff --git a/tests/hello2/hello2.c b/tests/hello2/hello2.c
new file mode 100644 (file)
index 0000000..f9bebce
--- /dev/null
@@ -0,0 +1,21 @@
+#include <stdio.h>
+#include <unistd.h>
+#include "marker.h"
+int main()
+{
+       int result;
+       int i;
+
+//     sleep(1);
+
+       printf("Hello, World!\n");
+
+       for(i=0; i<500; i++) {
+               trace_mark(ust, bar, "str %d", i);
+               trace_mark(ust, bar2, "number1 %d number2 %d", (int)53, (int)9800);
+               usleep(20);
+       }
+
+       return 0;
+}
+MARKER_LIB;
This page took 0.023559 seconds and 4 git commands to generate.