C# Class DebugTests.LogAnalyser

Show file Open project: MarcFletcher/NetworkComms.Net

Public Methods

Method Description
DataSendReceive ( int statIntervalSecs, string resultFile ) : void

Determines the KB/sec and saves it out versus time

LinesWithMatch ( string matchStrings, string resultFile ) : void

Write all lines that contain the provided matchString to a new resultFile

LogAnalyser ( string logfileName ) : System

Initialise a new log analyser using the provided logfile

ThreadPoolInfo ( string resultFile ) : void

Parse the thread pool stats to a new resultFile

Private Methods

Method Description
ParseLineTime ( string line, System.DateTime &result ) : bool

Parses the time at which the current logline occured and returns an associated dateTime

Method Details

DataSendReceive() public method

Determines the KB/sec and saves it out versus time
public DataSendReceive ( int statIntervalSecs, string resultFile ) : void
statIntervalSecs int
resultFile string
return void

LinesWithMatch() public method

Write all lines that contain the provided matchString to a new resultFile
public LinesWithMatch ( string matchStrings, string resultFile ) : void
matchStrings string
resultFile string
return void

LogAnalyser() public method

Initialise a new log analyser using the provided logfile
public LogAnalyser ( string logfileName ) : System
logfileName string
return System

ThreadPoolInfo() public method

Parse the thread pool stats to a new resultFile
public ThreadPoolInfo ( string resultFile ) : void
resultFile string
return void