-- File: PerfCommonOps.mesa   last edited by
-- Sandman on September 15, 1980  3:32 PM
-- Karlton on June 20, 1980  5:59 PM

DIRECTORY
  Window USING [Handle];

PerfCommonOps: DEFINITIONS =
  BEGIN

  Zero: PROC [p: POINTER, l: CARDINAL];

  Number: TYPE = LONG CARDINAL;

  logSW: Window.Handle;
  msgSW: Window.Handle;
  cmdSW: Window.Handle;

  herald: STRING;

  ConditionBreaks: PROCEDURE;

  AverageTime: PROCEDURE [time, count: Number, conversion: LONG CARDINAL] RETURNS [Number];
  WriteConvertedTicksToMs: PROCEDURE [
    ticks: Number, conversion: LONG CARDINAL, columns: CARDINAL ← 0];
  WritePercent: PROCEDURE [count, total: Number, columns: CARDINAL ← 0];
  WriteTime: PROCEDURE [time: Number, columns: CARDINAL ← 0];
  WriteTimeString: PROCEDURE [s: STRING, columns: CARDINAL ← 0];
  WriteLongNumber: PROCEDURE [number: Number, columns: CARDINAL ← 0];

  END.