| 272 | }; |
| 273 | |
| 274 | static void *ut_101timer_thread_proc(void *_ut_101_data) |
| 275 | { |
| 276 | struct ut_101_data *data = _ut_101_data; |
| 277 | int k; |
| 278 | |
| 279 | trace2_thread_start("ut_101"); |
| 280 | |
| 281 | for (k = 0; k < data->count; k++) { |
| 282 | trace2_timer_start(TRACE2_TIMER_ID_TEST2); |
| 283 | sleep_millisec(data->delay); |
| 284 | trace2_timer_stop(TRACE2_TIMER_ID_TEST2); |
| 285 | } |
| 286 | |
| 287 | trace2_thread_exit(); |
| 288 | return NULL; |
| 289 | } |
| 290 | |
| 291 | /* |
| 292 | * Multi-threaded timer test. Create several threads that each create |
nothing calls this directly
no test coverage detected