PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
|
Public Member Functions | |
__construct (int $historySize) | |
add (int $sendBytes, int $recvBytes) | |
getReceive () | |
getSend () | |
resetHistory () | |
rotateAverageHistory () | |
Definition at line 26 of file BidirectionalBandwidthStatsTracker.php.
pocketmine\network\BidirectionalBandwidthStatsTracker::__construct | ( | int | $historySize | ) |
@phpstan-param positive-int $historySize
Definition at line 31 of file BidirectionalBandwidthStatsTracker.php.
pocketmine\network\BidirectionalBandwidthStatsTracker::add | ( | int | $sendBytes, |
int | $recvBytes ) |
Definition at line 40 of file BidirectionalBandwidthStatsTracker.php.
pocketmine\network\BidirectionalBandwidthStatsTracker::getReceive | ( | ) |
Definition at line 38 of file BidirectionalBandwidthStatsTracker.php.
pocketmine\network\BidirectionalBandwidthStatsTracker::getSend | ( | ) |
Definition at line 36 of file BidirectionalBandwidthStatsTracker.php.
pocketmine\network\BidirectionalBandwidthStatsTracker::resetHistory | ( | ) |
Definition at line 52 of file BidirectionalBandwidthStatsTracker.php.
pocketmine\network\BidirectionalBandwidthStatsTracker::rotateAverageHistory | ( | ) |
Definition at line 46 of file BidirectionalBandwidthStatsTracker.php.