Photon Server API
Public Member Functions | Properties | List of all members
Photon.SocketServer.Diagnostics.TimeIntervalCounter Class Reference

Public Member Functions

 TimeIntervalCounter (TimeSpan timeSpan)
 
 TimeIntervalCounter (TimeSpan timeSpan, int steps)
 
int Increment (int value)
 Increments counter More...
 

Properties

int Value [get]
 

Constructor & Destructor Documentation

Photon.SocketServer.Diagnostics.TimeIntervalCounter.TimeIntervalCounter ( TimeSpan  timeSpan)
inline
Photon.SocketServer.Diagnostics.TimeIntervalCounter.TimeIntervalCounter ( TimeSpan  timeSpan,
int  steps 
)
inline

Member Function Documentation

int Photon.SocketServer.Diagnostics.TimeIntervalCounter.Increment ( int  value)
inline

Increments counter

Parameters
valuevalue for increment
Returns
Value of counter after increment

Property Documentation

int Photon.SocketServer.Diagnostics.TimeIntervalCounter.Value
get