Added perf counter and endpoint