CSharpTest.Net
CallsPerSecondCounter Constructor(Int32)
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Threading Namespace > CallsPerSecondCounter Class > CallsPerSecondCounter Constructor : CallsPerSecondCounter Constructor(Int32)

sampleSize

Glossary Item Box

Creates a CallsPerSecondCounter with a specified sample size. A reasonable sample size is 100, although even as low as 25 will often yeild reasonable results. The higher the sample size, the longer it takes for Value to drop to zero, for a sample size of 100 the counter value will reach zero aprox 50 seconds after the last activity.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal sampleSize As Integer _
)
C# 
public CallsPerSecondCounter( 
   int sampleSize
)

Parameters

sampleSize

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys