export const STATISTICS = [
    { label: "CPU", value: "cpuUsage" },
    { label: "Memory", value: "workingSetSize" },
    { label: "Peak Memory", value: "peakWorkingSetSize" },
    { label: "PID", value: "processId" },
];
// These are percentages
export const HIGH_CPU = 10;
export const MODERATE_CPU_USAGE = 5;
// Usage in MB
export const MODERATE_MEMORY_USAGE = 250;
export const HIGH_MEMORY_USAGE = 400;
// Constant to convert megabytes (250) to bytes (250,000,000). Conversion is approximate.
export const TO_MB = 1000000;
const emptyTotals = {
    visible: false,
    statistics: {},
};
// Just an object to hold the UI over until we get real information from the system.
STATISTICS.forEach((stat) => {
    emptyTotals.statistics[stat.value] = 0;
});
export const EMPTY_TOTALS = emptyTotals;
//# sourceMappingURL=constants.js.map