/// <summary> /// Return a string describing the statistics for this service. This also /// resets the statistics. Used for debugging purposes. /// </summary> /// public String Stats() { ICURWLock.Stats stats = factoryLock.ResetStats(); if (stats != null) { return(stats.ToString()); } return("no stats"); }
public ICURWLock.Stats ClearStats() { ICURWLock.Stats result = stats; stats = null; return(result); }
public ICURWLock.Stats ResetStats() { ICURWLock.Stats result = stats; stats = new ICURWLock.Stats(); return(result); }
public Stats(ICURWLock.Stats rhs) : this(rhs._rc, rhs._mrc, rhs._wrc, rhs._wc, rhs._wwc) { }