Home
last modified time | relevance | path

Searched refs:idle (Results 1 - 6 of 6) sorted by relevance

/base/startup/init/services/loopevent/idle/
H A Dle_idle.c27 * @brief Add a new idle handler
29 * @param loopHandle the running loop this idle will be attached
30 * @param idle optional output parameter for the created idle handler
31 * @param processIdle the idle handler function
32 * @param context optional idle handler context
33 * @param repeat if the idle function will be repeated forevent (non zero) or once (zero)
36 LE_STATUS LE_AddIdle(const LoopHandle loopHandle, IdleHandle *idle, in LE_AddIdle() argument
48 if (idle != NULL) { in LE_AddIdle()
49 *idle in LE_AddIdle()
63 LE_DelIdle(IdleHandle idle) LE_DelIdle() argument
79 LE_DelayProc(const LoopHandle loopHandle, LE_ProcessIdle idle, void *context) LE_DelayProc() argument
[all...]
/base/sensors/sensor/test/unittest/common/src/
H A Dsystem_info.cpp137 second.idle + second.lowait + second.irq + second.softirq); in GetCpuUsage()
139 first.idle + first.lowait + first.irq + first.softirq); in GetCpuUsage()
171 ss >> info.name >> info.user >> info.nice >> info.system >> info.idle >> info.lowait \ in GetSystemCpuStatInfo()
205 return (occupy.user + occupy.nice + occupy.system + occupy.idle); in GetSystemTotalOccupy()
/base/powermgr/battery_statistics/frameworks/napi/src/
H A Dbattery_stats_module.cpp96 napi_value idle = nullptr; in CreateEnumStatsType() local
106 napi_create_int32(env, (int32_t)BatteryStatsInfo::ConsumptionType::CONSUMPTION_TYPE_IDLE, &idle); in CreateEnumStatsType()
117 DECLARE_NAPI_STATIC_PROPERTY("CONSUMPTION_TYPE_IDLE", idle), in CreateEnumStatsType()
/base/startup/init/interfaces/innerkits/include/
H A Dloop_event.h199 * @param taskHandle idle handler
200 * @param context idle function context
206 * @brief Add a new idle handler
208 * @param loopHandle the running loop this idle will be attached
209 * @param idle optional output parameter for the created idle handler
210 * @param processIdle the idle handler function
211 * @param context optional idle handler context
212 * @param repeat if the idle function will be repeated forevent (non zero) or once (zero)
215 LE_STATUS LE_AddIdle(const LoopHandle loopHandle, IdleHandle *idle,
[all...]
/base/sensors/sensor/test/unittest/common/include/
H A Dsystem_info.h47 int32_t idle { 0 };
/base/notification/eventhandler/frameworks/napi/src/
H A Devents_emitter.cpp664 napi_value idle = nullptr; in CreateEnumEventPriority() local
669 napi_create_uint32(env, (uint32_t)Priority::IDLE, &idle); in CreateEnumEventPriority()
675 DECLARE_NAPI_STATIC_PROPERTY("IDLE", idle), in CreateEnumEventPriority()

Completed in 4 milliseconds