PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
|
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.