mirror of
https://gitee.com/openharmony/developtools_profiler
synced 2024-11-23 15:00:17 +00:00
update TitleWindowPage.ets master
Signed-off-by: project-two <haiqing1@huawei.com>
This commit is contained in:
parent
48f7269359
commit
3361909db6
@ -177,28 +177,6 @@ struct TitleWindowPage {
|
||||
})
|
||||
}
|
||||
|
||||
if (this.tIndexInfo["cpu"+ this.cpuCoreArr[1].toString() +"Frequency"] != undefined) {
|
||||
ItemContent({
|
||||
icon: $r("app.media.icon_counter"),
|
||||
value: (parseInt(this.tIndexInfo["cpu"+ this.cpuCoreArr[1] +"Frequency"].toString()) / 1e3).toString() + "MHz " + this.tIndexInfo.cpu1Load + "%",
|
||||
tittle: "CPU-B频率",
|
||||
onClickCallBack: () => {
|
||||
this.floatWindowEvent("sp_cpu1Frequency", FloatWindowConstant.CPU1_FREQUENCY)
|
||||
}
|
||||
})
|
||||
}
|
||||
if (this.tIndexInfo["cpu"+ this.cpuCoreArr[2].toString() +"Frequency"] != undefined) {
|
||||
|
||||
ItemContent({
|
||||
icon: $r("app.media.icon_counter"),
|
||||
value: (parseInt(this.tIndexInfo["cpu"+ this.cpuCoreArr[2] +"Frequency"].toString()) / 1e3).toString() + "MHz " + this.tIndexInfo.cpu2Load + "%",
|
||||
tittle: "CPU-C频率",
|
||||
onClickCallBack: () => {
|
||||
this.floatWindowEvent("sp_cpu2Frequency", FloatWindowConstant.CPU2_FREQUENCY)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
if (this.tIndexInfo.gpuFrequency != undefined) {
|
||||
ItemContent({
|
||||
icon: $r("app.media.icon_frame_score"),
|
||||
|
Loading…
Reference in New Issue
Block a user