Added AsyncTasks timings

This commit is contained in:
Shoghi Cervantes
2015-04-24 17:21:39 +02:00
parent 529f9b148b
commit d4cae729c3
3 changed files with 20 additions and 8 deletions

View File

@ -83,6 +83,8 @@ abstract class Timings{
public static $processQueueTimer;
/** @var TimingsHandler */
public static $schedulerSyncTimer;
/** @var TimingsHandler */
public static $schedulerAsyncTimer;
/** @var TimingsHandler */
public static $playerCommandTimer;
@ -127,6 +129,7 @@ abstract class Timings{
self::$processQueueTimer = new TimingsHandler("processQueue");
self::$schedulerSyncTimer = new TimingsHandler("** Scheduler - Sync Tasks", PluginManager::$pluginParentTimer);
self::$schedulerAsyncTimer = new TimingsHandler("** Scheduler - Async Tasks");
self::$playerCommandTimer = new TimingsHandler("** playerCommand");