initial implementation of stopwatch

Signed-off-by: Liew Zhao Wei <zhaoweiliew@gmail.com>