| 1000 | } |
| 1001 | |
| 1002 | void |
| 1003 | hstest_thread::sleep_if() |
| 1004 | { |
| 1005 | if (arg.sh.usleep) { |
| 1006 | struct timespec ts = { |
| 1007 | arg.sh.usleep / 1000000, |
| 1008 | (arg.sh.usleep % 1000000) * 1000 |
| 1009 | }; |
| 1010 | nanosleep(&ts, 0); |
| 1011 | } |
| 1012 | } |
| 1013 | |
| 1014 | void |
| 1015 | hstest_thread::set_timing(double time_spent) |
nothing calls this directly
no outgoing calls
no test coverage detected