mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 00:07:30 +00:00
WorldTimings: change some idiotic timer names
This commit is contained in:
parent
cdaf734470
commit
4736b5968d
@ -786,7 +786,7 @@ class World implements ChunkManager{
|
||||
}
|
||||
|
||||
//Do block updates
|
||||
$this->timings->doTickPending->startTiming();
|
||||
$this->timings->scheduledBlockUpdates->startTiming();
|
||||
|
||||
//Delayed updates
|
||||
while($this->scheduledBlockUpdateQueue->count() > 0 and $this->scheduledBlockUpdateQueue->current()["priority"] <= $currentTick){
|
||||
@ -822,7 +822,7 @@ class World implements ChunkManager{
|
||||
unset($this->neighbourBlockUpdateQueueIndex[$index]);
|
||||
}
|
||||
|
||||
$this->timings->doTickPending->stopTiming();
|
||||
$this->timings->scheduledBlockUpdates->stopTiming();
|
||||
|
||||
$this->timings->entityTick->startTiming();
|
||||
//Update entities that need update
|
||||
@ -838,9 +838,9 @@ class World implements ChunkManager{
|
||||
Timings::$tickEntity->stopTiming();
|
||||
$this->timings->entityTick->stopTiming();
|
||||
|
||||
$this->timings->doTickTiles->startTiming();
|
||||
$this->timings->randomChunkUpdates->startTiming();
|
||||
$this->tickChunks();
|
||||
$this->timings->doTickTiles->stopTiming();
|
||||
$this->timings->randomChunkUpdates->stopTiming();
|
||||
|
||||
$this->executeQueuedLightUpdates();
|
||||
|
||||
|
@ -38,9 +38,9 @@ class WorldTimings{
|
||||
/** @var TimingsHandler */
|
||||
public $doChunkUnload;
|
||||
/** @var TimingsHandler */
|
||||
public $doTickPending;
|
||||
public $scheduledBlockUpdates;
|
||||
/** @var TimingsHandler */
|
||||
public $doTickTiles;
|
||||
public $randomChunkUpdates;
|
||||
/** @var TimingsHandler */
|
||||
public $doChunkGC;
|
||||
/** @var TimingsHandler */
|
||||
@ -72,8 +72,8 @@ class WorldTimings{
|
||||
$this->doBlockSkyLightUpdates = new TimingsHandler(Timings::INCLUDED_BY_OTHER_TIMINGS_PREFIX . $name . "Sky Light Updates");
|
||||
|
||||
$this->doChunkUnload = new TimingsHandler(Timings::INCLUDED_BY_OTHER_TIMINGS_PREFIX . $name . "Unload Chunks");
|
||||
$this->doTickPending = new TimingsHandler(Timings::INCLUDED_BY_OTHER_TIMINGS_PREFIX . $name . "Scheduled Block Updates");
|
||||
$this->doTickTiles = new TimingsHandler(Timings::INCLUDED_BY_OTHER_TIMINGS_PREFIX . $name . "Random Chunk Updates");
|
||||
$this->scheduledBlockUpdates = new TimingsHandler(Timings::INCLUDED_BY_OTHER_TIMINGS_PREFIX . $name . "Scheduled Block Updates");
|
||||
$this->randomChunkUpdates = new TimingsHandler(Timings::INCLUDED_BY_OTHER_TIMINGS_PREFIX . $name . "Random Chunk Updates");
|
||||
$this->doChunkGC = new TimingsHandler(Timings::INCLUDED_BY_OTHER_TIMINGS_PREFIX . $name . "Garbage Collection");
|
||||
$this->entityTick = new TimingsHandler(Timings::INCLUDED_BY_OTHER_TIMINGS_PREFIX . $name . "Tick Entities");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user