public void Increment(ServerMethodCallProfilingData values) { this.callCounter += values.callCounter; this.processorTime += values.processorTime; }
public SerializableServerMethodCallProfilingData(string commandName, ServerMethodCallProfilingData serverMethodCallProfilingData) { this.commandName = commandName; this.callsCounter = serverMethodCallProfilingData.CallCounter.ToString(); this.processorTime = serverMethodCallProfilingData.ProcessorTime.ToString(); }