mirror of
https://github.com/jlfwong/speedscope.git
synced 2024-11-25 20:51:51 +03:00
Switch to usleep for a smaller profile which still reproduces the issue
This commit is contained in:
parent
029fb0e742
commit
e0ceccb98f
File diff suppressed because it is too large
Load Diff
@ -44,14 +44,14 @@ void timed(int microseconds) {
|
||||
}
|
||||
}
|
||||
|
||||
void a() { timed(5000); }
|
||||
void b() { timed(5000); }
|
||||
void c() { timed(5000); }
|
||||
void d() { timed(5000); }
|
||||
void e() { timed(5000); }
|
||||
void a() { timed(6000); }
|
||||
void b() { timed(6000); }
|
||||
void c() { timed(6000); }
|
||||
void d() { timed(6000); }
|
||||
void e() { timed(6000); }
|
||||
|
||||
void func() {
|
||||
for (int i = 0; i < 5; i++) {
|
||||
for (int i = 0; i < 2; i++) {
|
||||
a();
|
||||
b();
|
||||
fselect();
|
||||
@ -59,7 +59,7 @@ void func() {
|
||||
d();
|
||||
e();
|
||||
printf("sleep begin\n");
|
||||
sleep(0.1);
|
||||
usleep(30000);
|
||||
printf("sleep end\n");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user