getPerformanceData

Takes a fresh statistics snapshot for the open peer, or returns null if it is not open. If resetInterval is true, starts a new interval after taking the snapshot. The interval is shared by all callers on this peer. Cumulative counters are preserved.