LaKraven / LKSL

LaKraven Studios Standard Library
http://otapi.com
Other
51 stars 15 forks source link

Event Threads & Pooling - Make TLKEventContainer calculate Current and Average "Events Per Second" (Eps) #33

Closed LaKraven closed 9 years ago

LaKraven commented 9 years ago

We want to do this on TLKEventContainer as it is the absolute base class for things like TLKEventPreProcessor, TLKEventThread and TLKEventPool.

We can use this information to better determine which TLKEventThread in a given TLKEventPool is the best candidate to receive any given Event.

This information can also be used for performance testing and optimization efforts by implementing developers.

LaKraven commented 9 years ago

Note that this is the number of Events the Thread can process per second... not necessarily the number that it is processing! That distinction is critical!

LaKraven commented 9 years ago

Completed in 0954d8b