CounterSampleCalculator.cs 672 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // System.Diagnostics.CounterSampleCalculator.cs
  3. //
  4. // Authors:
  5. // Jonathan Pryor ([email protected])
  6. // Andreas Nahr ([email protected])
  7. //
  8. // (C) 2002
  9. // (C) 2003 Andreas Nahr
  10. //
  11. using System;
  12. namespace System.Diagnostics {
  13. public sealed class CounterSampleCalculator {
  14. private CounterSampleCalculator ()
  15. {
  16. }
  17. public static float ComputeCounterValue (CounterSample newSample)
  18. {
  19. return ComputeCounterValue (CounterSample.Empty, newSample);
  20. }
  21. [MonoTODO("What's the algorithm?")]
  22. public static float ComputeCounterValue (CounterSample oldSample,
  23. CounterSample newSample)
  24. {
  25. throw new NotImplementedException ();
  26. }
  27. }
  28. }