calculate average speed us ns

Signed-off-by: Fuang.Cao <cavan.cfa@gmail.com>