PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
|
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.