decord/source/utils/ProcessUtilsBase.tsx

51 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-07-21 22:01:30 +00:00
// Module ID: 6913
2026-07-22 07:54:56 +00:00
// Function ID: 55088
2026-07-20 16:05:17 +00:00
// Name: ProcessUtils
2026-07-22 07:54:56 +00:00
// Dependencies: [513, 511, 513]
2026-07-20 16:05:17 +00:00
2026-07-21 22:01:30 +00:00
// Module 6913 (ProcessUtils)
2026-07-22 07:54:56 +00:00
import closure_0 from "items";
import module_511 from "module_511";
import items from "items";
const result = items.fileFinishedImporting("utils/ProcessUtilsBase.tsx");
export const ElectronProcessType = { Unknown: "unknown", Main: "main", Renderer: "renderer", GPU: "gpu", Utility: "utility", Crashpad: "crashpad", Clips: "clips" };
export const ProcessUtils = () => {
2026-07-20 16:05:17 +00:00
class ProcessUtils {
constructor() {
tmp = ProcessUtils(this, ProcessUtils);
return;
}
}
let closure_0 = ProcessUtils;
let obj = {
key: "getSystemMetrics",
value() {
return Promise.resolve(null);
}
};
const items = [obj, , , ];
obj = {
key: "setShouldCollectHermesInstrumentedStats",
value() {
}
};
items[1] = obj;
obj = {
key: "getCurrentHermesInstrumentedStatsSummary",
value() {
}
};
items[2] = obj;
items[3] = {
key: "getCPUCoreCount",
value() {
return this.cpuCoreCount;
}
};
return callback(ProcessUtils, items);
}();