Added timeunit and thread cfg to timetool