Switch to usleep for a smaller profile which still reproduces the issue

This commit is contained in:
Jamie Wong 2022-08-05 17:33:43 +08:00
parent 029fb0e742
commit e0ceccb98f
2 changed files with 7640 additions and 7259 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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");
}
}