PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
|
Public Member Functions | |
__construct (private TimingsHandler $handler, private ?TimingsRecord $parentRecord) | |
getCount () | |
getCurCount () | |
getCurTickTotal () | |
getGroup () | |
getId () | |
getName () | |
getParentId () | |
getPeakTime () | |
getStart () | |
getTicksActive () | |
getTimerId () | |
getTotalTime () | |
getViolations () | |
startTiming (int $now) | |
stopTiming (int $now) | |
Static Public Member Functions | |
static | getAll () |
static | getCurrentRecord () |
static | reset () |
static | tick (bool $measure=true) |
Represents a record collected by a timings handler. This record will live until the end of the current timings session, even if its handler goes out of scope. This ensures that timings collected by destroyed timers are still shown in the final report.
Definition at line 36 of file TimingsRecord.php.
pocketmine\timings\TimingsRecord::__construct | ( | private TimingsHandler | $handler, |
private ?TimingsRecord | $parentRecord ) |
Definition at line 94 of file TimingsRecord.php.
|
static |
Definition at line 60 of file TimingsRecord.php.
pocketmine\timings\TimingsRecord::getCount | ( | ) |
Definition at line 112 of file TimingsRecord.php.
pocketmine\timings\TimingsRecord::getCurCount | ( | ) |
Definition at line 114 of file TimingsRecord.php.
|
static |
Definition at line 157 of file TimingsRecord.php.
pocketmine\timings\TimingsRecord::getCurTickTotal | ( | ) |
Definition at line 120 of file TimingsRecord.php.
pocketmine\timings\TimingsRecord::getGroup | ( | ) |
Definition at line 110 of file TimingsRecord.php.
pocketmine\timings\TimingsRecord::getId | ( | ) |
Definition at line 102 of file TimingsRecord.php.
pocketmine\timings\TimingsRecord::getName | ( | ) |
Definition at line 108 of file TimingsRecord.php.
pocketmine\timings\TimingsRecord::getParentId | ( | ) |
Definition at line 104 of file TimingsRecord.php.
pocketmine\timings\TimingsRecord::getPeakTime | ( | ) |
Definition at line 126 of file TimingsRecord.php.
pocketmine\timings\TimingsRecord::getStart | ( | ) |
Definition at line 116 of file TimingsRecord.php.
pocketmine\timings\TimingsRecord::getTicksActive | ( | ) |
Definition at line 124 of file TimingsRecord.php.
pocketmine\timings\TimingsRecord::getTimerId | ( | ) |
Definition at line 106 of file TimingsRecord.php.
pocketmine\timings\TimingsRecord::getTotalTime | ( | ) |
Definition at line 118 of file TimingsRecord.php.
pocketmine\timings\TimingsRecord::getViolations | ( | ) |
Definition at line 122 of file TimingsRecord.php.
|
static |
Definition at line 48 of file TimingsRecord.php.
pocketmine\timings\TimingsRecord::startTiming | ( | int | $now | ) |
Definition at line 128 of file TimingsRecord.php.
pocketmine\timings\TimingsRecord::stopTiming | ( | int | $now | ) |
Definition at line 133 of file TimingsRecord.php.
|
static |
Definition at line 62 of file TimingsRecord.php.