I am using DotNet Benchmark and I can get the memory usage information as in the table below. But I need to access how much CPU usage is in the process I have done. Does DotNetBenchmark have this feature? If not, what method should I use?
Method | Mean | Error | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|
Get10000Records | 38.70 ms | 1.413 ms | 4.165 ms | 2000.0000 | 1000.0000 | - | 12 MB |
Get100000Records | 558.30 ms | 11.157 ms | 22.024 ms | 19000.0000 | 6000.0000 | 2000.0000 | 121 MB |