decord/alpha/source/utils/ProcessUtilsBase.tsx

27 lines
903 B
TypeScript

// Module ID: 1359
// Function ID: 1360
// Name: ProcessUtilsBase
// Dependencies: [2]
// Module 1359 (ProcessUtilsBase)
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("utils/ProcessUtilsBase.tsx");
class ProcessUtils {
}
const prototype = ProcessUtils.prototype;
prototype["getSystemMetrics"] = function getSystemMetrics() {
return Promise.resolve(null);
};
prototype["setShouldCollectHermesInstrumentedStats"] = function setShouldCollectHermesInstrumentedStats() {
};
prototype["getCurrentHermesInstrumentedStatsSummary"] = function getCurrentHermesInstrumentedStatsSummary() {
};
prototype["getCPUCoreCount"] = function getCPUCoreCount() {
return this.cpuCoreCount;
};
export const ElectronProcessType = { Unknown: "unknown", Main: "main", Renderer: "renderer", GPU: "gpu", Utility: "utility", Crashpad: "crashpad", Clips: "clips" };
export { ProcessUtils };