add a fully timing library

Signed-off-by: xiehuc <xiehuc@gmail.com>
add comments for timing

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