remove unneed function. Use hpread in context switch benchmark.