decord/source/utils/ProcessUtilsBase.tsx

50 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 5908
// Function ID: 52436
2026-07-20 16:05:17 +00:00
// Name: ProcessUtils
2026-07-23 10:11:24 +00:00
// Dependencies: [6, 7, 2]
2026-07-20 16:05:17 +00:00
2026-07-25 08:10:48 +00:00
// Module 5908 (ProcessUtils)
2026-07-23 10:11:24 +00:00
import _classCallCheck from "_classCallCheck";
import _defineProperties from "_defineProperties";
2026-07-22 07:54:56 +00:00
2026-07-23 10:11:24 +00:00
const tmp2 = (() => {
2026-07-20 16:05:17 +00:00
class ProcessUtils {
constructor() {
tmp = ProcessUtils(this, ProcessUtils);
return;
}
}
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);
2026-07-23 10:11:24 +00:00
})();
const result = require("set").fileFinishedImporting("utils/ProcessUtilsBase.tsx");
export const ElectronProcessType = { Unknown: "unknown", Main: "main", Renderer: "renderer", GPU: "gpu", Utility: "utility", Crashpad: "crashpad", Clips: "clips" };
export const ProcessUtils = tmp2;