示例#1
0
 private static ulong GetAvailableMemoryOSX1()
 {
     return(MacMemoryAPI.GetAvailableMemory());
 }
示例#2
0
 /// <summary>
 /// On Mac OS X, gets the total amount of installed physical memory.
 /// </summary>
 /// <returns>The total amount of installed physical memory on the system.</returns>
 private static ulong GetTotalPhysicalMemoryOSX1()
 {
     return(MacMemoryAPI.GetPhysicalMemory());
 }