add reschedulre check point in some busy loop

This patch also add some time measure point for table histogram
and ptable synthesis.

Signed-off-by: Jovi Zhangwei <jovi.zhangwei@gmail.com>