mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
sched/sched and include/nuttx/arch.h: Rename sched_process_cpuload to nxsched_process_cpuload. All internal sched_ functions should be prefixed with nx. Remove duplicate prototype from nuttx/arch.h.
This commit is contained in:
committed by
Gregory Nutt
parent
fdba1eb788
commit
d7a602e9b2
@@ -2053,28 +2053,6 @@ void sched_timer_expiration(void);
|
||||
void sched_alarm_expiration(FAR const struct timespec *ts);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Name: sched_process_cpuload
|
||||
*
|
||||
* Description:
|
||||
* Collect data that can be used for CPU load measurements.
|
||||
*
|
||||
* Input Parameters:
|
||||
* None
|
||||
*
|
||||
* Returned Value:
|
||||
* None
|
||||
*
|
||||
* Assumptions/Limitations:
|
||||
* This function is called from a timer interrupt handler with all
|
||||
* interrupts disabled.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#if defined(CONFIG_SCHED_CPULOAD) && defined(CONFIG_SCHED_CPULOAD_EXTCLK)
|
||||
void weak_function sched_process_cpuload(void);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Name: irq_dispatch
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user