HW1. print thread stats.