Definition at line 32 of file TimingsHandler.php.
◆ __construct()
pocketmine\timings\TimingsHandler::__construct |
( |
private string | $name, |
|
|
private ?TimingsHandler | $parent = null, |
|
|
private string | $group = Timings::GROUP_MINECRAFT ) |
◆ getGroup()
pocketmine\timings\TimingsHandler::getGroup |
( |
| ) |
|
◆ getName()
pocketmine\timings\TimingsHandler::getName |
( |
| ) |
|
◆ getStartTime()
static pocketmine\timings\TimingsHandler::getStartTime |
( |
| ) |
|
|
static |
◆ isEnabled()
static pocketmine\timings\TimingsHandler::isEnabled |
( |
| ) |
|
|
static |
◆ printTimings()
static pocketmine\timings\TimingsHandler::printTimings |
( |
| ) |
|
|
static |
◆ reload()
static pocketmine\timings\TimingsHandler::reload |
( |
| ) |
|
|
static |
◆ reset()
pocketmine\timings\TimingsHandler::reset |
( |
| ) |
|
◆ setEnabled()
static pocketmine\timings\TimingsHandler::setEnabled |
( |
bool | $enable = true | ) |
|
|
static |
◆ startTiming()
pocketmine\timings\TimingsHandler::startTiming |
( |
| ) |
|
◆ stopTiming()
pocketmine\timings\TimingsHandler::stopTiming |
( |
| ) |
|
◆ tick()
static pocketmine\timings\TimingsHandler::tick |
( |
bool | $measure = true | ) |
|
|
static |
◆ time()
pocketmine\timings\TimingsHandler::time |
( |
\Closure | $closure | ) |
|
- Returns
- mixed the result of the given closure
@phpstan-template TClosureReturn @phpstan-param \Closure() : TClosureReturn $closure @phpstan-return TClosureReturn
Definition at line 195 of file TimingsHandler.php.
The documentation for this class was generated from the following file: