calculates duration of a call Change-Id: I7cca673f6dabc618ec543e3bd6c5102aa76edc3a [ROCm/clr commit: 47088fea0d]
47088fea0d