Skip to content

Commit

Permalink
improved diagnostic info
Browse files Browse the repository at this point in the history
  • Loading branch information
fandrei committed Jul 30, 2013
1 parent edf68a4 commit 9bdf82b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions AppMetrics.Client/Tracker.cs
Expand Up @@ -381,6 +381,12 @@ private void ReportPeriodicInfo()
var privateMemorySize = ToMegabytes((ulong)curProcess.PrivateMemorySize64);
Log("Client_PrivateMemorySize", privateMemorySize);

var virtualMemorySize = ToMegabytes((ulong)curProcess.VirtualMemorySize64);
Log("Client_VirtualMemorySize", virtualMemorySize);

var threadsCount = curProcess.Threads.Count;
Log("Client_ThreadCount", threadsCount);

if (!IsUnderMono)
{
var memInfo = SafeNativeMethods.GetMemoryStatus();
Expand Down

0 comments on commit 9bdf82b

Please sign in to comment.