Example #1
0
 public MemoryMonitorTask(Logger logger)
     : base(logger)
 {
     mCounter = new PerformanceCounter("Memory", "Available MBytes");
     mStorage = new FloatDataStorage();
 }
Example #2
0
 public ProcessorMonitorTask(Logger logger)
     : base(logger)
 {
     mCounter = new PerformanceCounter("Processor", "% Processor Time", "_Total");
     mStorage = new FloatDataStorage();
 }