예제 #1
0
 public jemallocTest()
 {
     Jem.Init("dirty_decay_ms:1,muzzy_decay_ms:1,tcache:false,narenas:3");
     init_privateMemorySize = CurrentProcess.PrivateMemorySize64;
     init_peakPagedMem      = CurrentProcess.PeakPagedMemorySize64;
     init_peakWorkingSet    = CurrentProcess.PeakWorkingSet64;
     init_peakVirtualMem    = CurrentProcess.PeakVirtualMemorySize64;
     init_allocated         = Jem.AllocatedBytes;
 }