Info
Version: | 1.0.20200310.4 |
Author(s): | Rychusoft |
Last Update: | Tuesday, March 10, 2020 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/Rychu-Pawel/ExecutionTimeCounter |
NuGet Url: | https://www.nuget.org/packages/Rychusoft.Counters.ExecutionTimeCounter |
Install
Install-Package Rychusoft.Counters.ExecutionTimeCounter
dotnet add package Rychusoft.Counters.ExecutionTimeCounter
paket add Rychusoft.Counters.ExecutionTimeCounter
Rychusoft.Counters.ExecutionTimeCounter Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
var execution = ExecutionTimeCounter.Start("SLEEP EXECUTION");
Thread.Sleep(5);
ExecutionTimeCounter.Stop(execution);
var result = ExecutionTimeCounter.ResultsToString();
Console.WriteLine(result);.