Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 1005 Bytes

File metadata and controls

11 lines (6 loc) · 1005 Bytes

ProcessAnalyzer

The program is a console application built with .Net Core 2.1 but targets .Net Framework 4.7.1 for the moment as the technology used to monitor the process activity (relying on PerformanceCounter class) is currently not supported on .Net Core (https://stackify.com/performance-counters-net-core/).

The programs starts, shows the various processes, then asks for : the process name, the sampling duration (in seconds) and the sample period (in milliseconds).

Once input, the process(es) are analyzed accordingly using a timer elapsed event coupled with the PerformanceCounter class from System.Diagnostics.PerformanceCounter.

Once the duration time is over, the various analyzers can perform operation on the collected samples.

The automated test suite uses Travis to perform continuous integration: Build status