Lines Matching refs:of
6 …pecifications. With the CPUP of each task/process/interrupt, you can determine whether their CPU u…
9 …of the system within a period of time. It reflects the CPU load and the system running status (idl…
12 …of a single process. It reflects the process status, busy or idle, in a period of time. The valid …
15 …of a single task. It reflects the task status, busy or idle, in a period of time. The valid range …
18 …of a single interrupt. It reflects the interrupt status, busy or idle, in a period of time. The va…
23 …of the process or task is recorded. When the process or task is switched out or exits, the system …
25 OpenHarmony provides the following types of CPUP information:
37 System CPUP = Total running time of all tasks except idle tasks/Total running time of the system
39 Process CPUP = Total running time of the process/Total running time of the system
41 Task CPUP = Total running time of the task/Total running time of the system
43 Interrupt CPUP = Total running time of the interrupt/Total running time of the system
55 | System CPUP| LOS_HistorySysCpuUsage | Obtains the historical CPUP of the system.|
56 | Process CPUP| LOS_HistoryProcessCpuUsage | Obtains the historical CPUP of a specified process.|
57 | Process CPUP| LOS_GetAllProcessCpuUsage | Obtains the historical CPUP of all processes in the sys…
58 | Task CPUP| LOS_HistoryTaskCpuUsage | Obtains the historical CPUP of a specified task.|
59 | Interrupt CPUP| LOS_GetAllIrqCpuUsage | Obtains the historical CPUP of all interrupts in the syst…
67 1. Call **LOS_HistorySysCpuUsage** to obtain the historical CPUP of the system.
69 2. Call **LOS_HistoryProcessCpuUsage** to obtain the historical CPUP of a specified process.
73 3. Call **LOS_GetAllProcessCpuUsage** to obtain the CPUP of all processes.
77 4. Call **LOS_HistoryTaskCpuUsage** to obtain the historical CPUP of a specified task.
81 5. Call **LOS_GetAllIrqCpuUsage** to obtain the CPUP of all interrupts.
92 2. Obtain the CPUP of the current system.
96 4. Obtain the CPUP of the created test task.
98 5. Obtain the CPUP of the created test task in different modes.
141 /* Obtain the historical CPUP of the system. */
145 /* Obtain the CPUP of the specified task (cpupTestTask in this example). */
147 dprintf("cpu usage of the cpupTestTask in all time:\n TaskID: %d\n usage: %u.%u\n",
161 cpu usage of the cpupTestTask in all time: TaskID:10 usage: 0.0