mirror of
https://github.com/apache/nuttx.git
synced 2025-12-16 09:45:18 +08:00
sched: Rename sched_cpu_count to sched_cpucount
This commit is contained in:
@@ -265,7 +265,7 @@ int sched_rr_get_interval(pid_t pid, FAR struct timespec *interval);
|
||||
int sched_setaffinity(pid_t pid, size_t cpusetsize,
|
||||
FAR const cpu_set_t *mask);
|
||||
int sched_getaffinity(pid_t pid, size_t cpusetsize, FAR cpu_set_t *mask);
|
||||
int sched_cpu_count(FAR const cpu_set_t *set);
|
||||
int sched_cpucount(FAR const cpu_set_t *set);
|
||||
int sched_getcpu(void);
|
||||
#endif /* CONFIG_SMP */
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Name: sched_cpu_count
|
||||
* Name: sched_cpucount
|
||||
*
|
||||
* Description:
|
||||
* Return the number of bits set in the 'set'. This could be improved by
|
||||
@@ -62,7 +62,7 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int sched_cpu_count(FAR const cpu_set_t *set)
|
||||
int sched_cpucount(FAR const cpu_set_t *set)
|
||||
{
|
||||
int count;
|
||||
int cpu;
|
||||
|
||||
Reference in New Issue
Block a user