projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
only facilities missing
[lttv.git]
/
usertrace-fast
/
test.c
diff --git
a/usertrace-fast/test.c
b/usertrace-fast/test.c
index ca528fbd06795ac7433d1685a5b196ee9f162c3d..8ac69eb5d7c1759763f3003a7f31eb2aaf083a8d 100644
(file)
--- a/
usertrace-fast/test.c
+++ b/
usertrace-fast/test.c
@@
-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.025018 seconds
and
4
git commands to generate.