parent
ebe7b0745e
commit
62c2d26768
11
src/bin/ui.c
11
src/bin/ui.c
|
@ -582,11 +582,14 @@ _ui_setup(void)
|
||||||
sync();
|
sync();
|
||||||
#endif
|
#endif
|
||||||
/* warm up the cpu with some spinning */
|
/* warm up the cpu with some spinning */
|
||||||
t0 = time(NULL);
|
if (run_all)
|
||||||
for (;;)
|
|
||||||
{
|
{
|
||||||
t = time(NULL);
|
t0 = time(NULL);
|
||||||
if (t - t0 > 2) break;
|
for (;;)
|
||||||
|
{
|
||||||
|
t = time(NULL);
|
||||||
|
if (t - t0 > 2) break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (run_all)
|
if (run_all)
|
||||||
|
|
Loading…
Reference in New Issue