public void Add(SmapsReaderResults results) { var djv = new DynamicJsonValue { ["File"] = results.ResultString, ["Size"] = Sizes.Humane(results.Size), ["Rss"] = Sizes.Humane(results.Rss), ["SharedClean"] = Sizes.Humane(results.SharedClean), ["SharedDirty"] = Sizes.Humane(results.SharedDirty), ["PrivateClean"] = Sizes.Humane(results.PrivateClean), ["PrivateDirty"] = Sizes.Humane(results.PrivateDirty), ["TotalClean"] = results.SharedClean + results.PrivateClean, ["TotalCleanHumanly"] = Sizes.Humane(results.SharedClean + results.PrivateClean), ["TotalDirty"] = results.SharedDirty + results.PrivateDirty, ["TotalDirtyHumanly"] = Sizes.Humane(results.SharedDirty + results.PrivateDirty) }; if (_dja == null) { _dja = new DynamicJsonArray(); } _dja.Add(djv); }
public void Add(SmapsReaderResults results) { // currently we do not use these results with SmapsReaderNoAllocResults so we do not store them }