use raw ptr for PerfCounter