What is MmoPeer.CounterSubscription for?

Options
escjosh
edited February 2012 in Photon Server
I see that MmoPeer subscribes to the PhotonApplication's performance counter events, but I can't find where the peer actually does anything as a result of that subscription.

Really, though, my first question is: Why do peers need to know about the server performance counter events?

Thanks again

Comments

  • BenStahl
    Options
    The subscription to the performance counter is only implemented for performance testing scenarios.
    The Photon.MmoDemo.Client.WinGrid project included in the MMoDemo solution for example subscribes to the performance counter events to show a graph.
    I agree that 'normal' peers doesn't need to know about ther servers performance counter.
  • Ok great, that's what I thought. Thanks, Ben.