mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Timings: rename core timers to remove 'timer' from the names
this makes them shorter and more consistent.
This commit is contained in:
4
src/network/mcpe/cache/ChunkCache.php
vendored
4
src/network/mcpe/cache/ChunkCache.php
vendored
@ -107,7 +107,7 @@ class ChunkCache implements ChunkListener{
|
||||
|
||||
++$this->misses;
|
||||
|
||||
$this->world->timings->syncChunkSendPrepareTimer->startTiming();
|
||||
$this->world->timings->syncChunkSendPrepare->startTiming();
|
||||
try{
|
||||
$this->caches[$chunkHash] = new CompressBatchPromise();
|
||||
|
||||
@ -128,7 +128,7 @@ class ChunkCache implements ChunkListener{
|
||||
|
||||
return $this->caches[$chunkHash];
|
||||
}finally{
|
||||
$this->world->timings->syncChunkSendPrepareTimer->stopTiming();
|
||||
$this->world->timings->syncChunkSendPrepare->stopTiming();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user