decord/source/utils/ProcessUtilsBase.tsx

28 lines
902 B
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 7281
// Function ID: 7282
2026-07-29 08:29:29 +00:00
// Name: ElectronProcessType
// Dependencies: [2]
2026-07-20 16:05:17 +00:00
2026-08-25 06:04:03 +00:00
// Module 7281 (ElectronProcessType)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
const result = set.fileFinishedImporting("utils/ProcessUtilsBase.tsx");
2026-07-29 08:29:29 +00:00
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 };