MCGalaxy icon indicating copy to clipboard operation
MCGalaxy copied to clipboard

Perf counter issues with /sinfo on mono

Open UnknownShadow200 opened this issue 8 years ago • 1 comments

  • CPU usage shows 0 (perhaps we can use Process.GetCurrentProcess().TotalProcesserTime insteaD)

  • memory usage count way off

UnknownShadow200 avatar Apr 17 '17 14:04 UnknownShadow200

After five years, first issue (CPU usage showing 0.00%) was resolved in a1a7704d066ea525735c96d976c4adf4d054d61d

(note: mono expected process ID instead of process name in performance counter, which was why it showed 0.00%. Switched to using TotalProcessorTime instead though so it'd also work on .NET core)

UnknownShadow200 avatar Jun 26 '22 23:06 UnknownShadow200