Changeset 98 for trunk/MacFaceLibrary/MemoryStatistics.cs
- Timestamp:
- Dec 6, 2007, 3:36:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MacFaceLibrary/MemoryStatistics.cs
r75 r98 27 27 private PerformanceCounter commitLimitCounter; 28 28 29 private ulongtotalVisibleMemorySize;29 private UInt64 totalVisibleMemorySize; 30 30 31 31 public MemoryStatistics(int historySize) … … 105 105 } 106 106 107 public ulongTotalVisibleMemorySize107 public UInt64 TotalVisibleMemorySize 108 108 { 109 109 get { return totalVisibleMemorySize; } … … 126 126 protected virtual MemoryUsage NextValue() 127 127 { 128 int available = (int)availableCounter.NextValue();129 int committed = (int)committedCounter.NextValue();128 UInt64 available = (UInt64)availableCounter.NextValue(); 129 UInt64 committed = (UInt64)committedCounter.NextValue(); 130 130 int pagein = (int)pageinCounter.NextValue(); 131 131 int pageout = (int)pageoutCounter.NextValue(); 132 int systemCache = (int)systemCacheCounter.NextValue();133 int kernelPaged = (int)kernelPagedCounter.NextValue();134 int kernelNonPaged = (int)kernelNonPagedCounter.NextValue();135 int driverTotal = (int)driverTotalCounter.NextValue();136 int systemCodeTotal = (int)systemCodeTotalCounter.NextValue();132 UInt64 systemCache = (UInt64)systemCacheCounter.NextValue(); 133 UInt64 kernelPaged = (UInt64)kernelPagedCounter.NextValue(); 134 UInt64 kernelNonPaged = (UInt64)kernelNonPagedCounter.NextValue(); 135 UInt64 driverTotal = (UInt64)driverTotalCounter.NextValue(); 136 UInt64 systemCodeTotal = (UInt64)systemCodeTotalCounter.NextValue(); 137 137 138 138 return new MemoryUsage(available, committed, pagein, pageout,
Note: See TracChangeset
for help on using the changeset viewer.