Create averagetime(funcname)