问题修改

This commit is contained in:
lixiao 2025-04-23 16:27:02 +08:00
parent d4140341fd
commit 7b5e773567
4 changed files with 1 additions and 4 deletions

View File

@ -53,7 +53,7 @@ export class CpuUsageMonitor {
let cpuUsage = this.calculateCpuUsage(prevCpuTimes, currCpuTimes);
hilog.info(0x0000, this.TAG, `Current CPU Usage: ${cpuUsage.toFixed(2)}%`);
}, 1000); // 等待1秒
}, 1000)
}, 5000)
}
}

View File

@ -36,8 +36,6 @@ export default class EntryAbility extends UIAbility {
// this.context
// Main window is created, set main page for this ability
hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onWindowStageCreate');
CpuUsageMonitor.printCpuUsage();
await tcpUtil.init()
Logger.init()

View File

@ -489,7 +489,6 @@ export default class Judge {
const msgStr = strArr[num];
if (msgStr == '') {
console.info(judgeTag, '模拟数据考试结束')
// globalThis.windowClass.setWindowSystemBarEnable(['navigation'])
clearInterval(judgeTimer)
this.checkExamIsEnd(true)
return