add mlock, timer, print_result to rt_task