Internet Direct (Indy) Version 9.0.2 Beta
|
procedure GetStatistics(Module: Integer; var Value: Integer);
Module is an Integer that represents one of the statistic type constant values from IdTunnelCommon.pas, and normally contains on of the following values:
CompressionRatioType returns a calculated value that represents the ratio of total number of bytes read to compressed bytes read.
Value is an Integer variable used to return the value for the selected statistic type.
GetStatistics uses the StatisticsLocker critical section to protect access to the server resources from multiple threads.