Computer Algorithms II Lecture Notes

25 September 2007 • Program Measurement


Outline

Measurement Types

Accurate Measurements

Inaccurate Measurements

Statistical Measures

Average Measures

Arithmetic Mean

Error Measurements

Standard Deviation

Interpreting Standard Deviation

Troubleshooting

Summary

Measuring Tools

Stopwatch

class stopwatch

  unsigned elapsed()
  void start()
  void stop()

Episode Timer

class episode_timer

  episode_timer(unsigned size = 1024)

  void start(void)
  void stop(void)
  void clear()

  double stddev()
  double average()

  unsigned total()
  unsigned count()


This page last modified on 2 October 2007.

This work's CC license.