68kcounter
Version:
68000 ASM source code cycle counter
20 lines (19 loc) • 489 B
TypeScript
import { Timing } from "./timings";
export declare type Level = "vhigh" | "high" | "med" | "low";
/**
* Warning level timing/length display
*/
export declare const Levels: {
readonly VHigh: "vhigh";
readonly High: "high";
readonly Med: "med";
readonly Low: "low";
};
/**
* Get warning level for timing
*/
export declare function timingLevel(timing: Timing): Level;
/**
* Get warning level for byte length
*/
export declare function lengthLevel(bytes: number): Level;