sched: Rename sched_cpu_count to sched_cpucount
This commit is contained in:
parent
c34a73e780
commit
ac53600e44
|
@ -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,
|
int sched_setaffinity(pid_t pid, size_t cpusetsize,
|
||||||
FAR const cpu_set_t *mask);
|
FAR const cpu_set_t *mask);
|
||||||
int sched_getaffinity(pid_t pid, size_t cpusetsize, FAR 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);
|
int sched_getcpu(void);
|
||||||
#endif /* CONFIG_SMP */
|
#endif /* CONFIG_SMP */
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: sched_cpu_count
|
* Name: sched_cpucount
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Return the number of bits set in the 'set'. This could be improved by
|
* 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 count;
|
||||||
int cpu;
|
int cpu;
|
||||||
|
|
Loading…
Reference in New Issue