projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
it runs
[lttv.git]
/
usertrace-fast
/
test.c
diff --git
a/usertrace-fast/test.c
b/usertrace-fast/test.c
index ca528fbd06795ac7433d1685a5b196ee9f162c3d..4960c0bcda033acafb767c7ee18cdec0c27c485a 100644
(file)
--- a/
usertrace-fast/test.c
+++ b/
usertrace-fast/test.c
@@
-4,7
+4,7
@@
#include <unistd.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdlib.h>
-#include
"ltt-usertrace-fast.h"
+#include
<ltt/ltt-usertrace-fast.h>
@@
-16,7
+16,7
@@
void *thr1(void *arg)
//while(1) {}
for(i=0; i<5; i++) {
//while(1) {}
for(i=0; i<5; i++) {
-
ltt_usertrace_fast_buffer_switch();
+
//
ltt_usertrace_fast_buffer_switch();
sleep(1);
}
sleep(1);
}
@@
-33,7
+33,7
@@
void *thr2(void *arg)
sleep(2);
//}
for(i=0; i<2; i++) {
sleep(2);
//}
for(i=0; i<2; i++) {
-
ltt_usertrace_fast_buffer_switch();
+
//
ltt_usertrace_fast_buffer_switch();
sleep(3);
}
sleep(3);
}
@@
-58,7
+58,7
@@
int main()
if(err!=0) exit(1);
for(i=0; i<2; i++) {
if(err!=0) exit(1);
for(i=0; i<2; i++) {
-
ltt_usertrace_fast_buffer_switch();
+
//
ltt_usertrace_fast_buffer_switch();
sleep(3);
}
sleep(3);
}
This page took
0.023683 seconds
and
4
git commands to generate.