decord/source/utils/ProcessUtilsBase.tsx

26 lines
881 B
TypeScript
Raw Normal View History

2026-07-30 10:14:41 +00:00
// Module ID: 5959
// Function ID: 5960
2026-07-29 08:29:29 +00:00
// Name: ElectronProcessType
// Dependencies: [2]
2026-07-20 16:05:17 +00:00
2026-07-30 10:14:41 +00:00
// Module 5959 (ElectronProcessType)
2026-07-29 08:29:29 +00:00
const result = require("set").fileFinishedImporting("utils/ProcessUtilsBase.tsx");
class ProcessUtils {
}
const prototype = ProcessUtils.prototype;
prototype["getSystemMetrics"] = function getSystemMetrics() {
return Promise.resolve(null);
};
prototype["setShouldCollectHermesInstrumentedStats"] = function setShouldCollectHermesInstrumentedStats() {
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
};
prototype["getCurrentHermesInstrumentedStatsSummary"] = function getCurrentHermesInstrumentedStatsSummary() {
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
};
prototype["getCPUCoreCount"] = function getCPUCoreCount() {
return this.cpuCoreCount;
};
2026-07-23 10:11:24 +00:00
export const ElectronProcessType = { Unknown: "unknown", Main: "main", Renderer: "renderer", GPU: "gpu", Utility: "utility", Crashpad: "crashpad", Clips: "clips" };
2026-07-29 08:29:29 +00:00
export { ProcessUtils };