incrementOperationCount

open fun incrementOperationCount(operationCount: Int)(source)

Deprecated

Use incrementOperationCount directly.

Increment count of network operations performed under the accounting tag currently active on the calling thread. This can be used to derive bytes-per-operation.

Parameters

operationCount

Number of operations to increment count by.


open fun incrementOperationCount(tag: Int, operationCount: Int)(source)

Deprecated

Use incrementOperationCount directly.

Increment count of network operations performed under the given accounting tag. This can be used to derive bytes-per-operation.

Parameters

tag

Accounting tag used in setThreadStatsTag.

operationCount

Number of operations to increment count by.