timing measurement in a program

This lib can be used to conveniently measure time taken between any
2 points in a program, time taken by a function, frequency (how many
times the function/event got called/generated in a second) etc

Signed-off-by: tmande <tmande@marvell.com>