add calculation time mesurement for inner product