add a basic TimingSource framework

Signed-off-by: xiehuc <xiehuc@gmail.com>