context 接口修订

Signed-off-by: qianqians <anxiangqq@gmail.com>
timer 改用本地clock函数实现