mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
benchmarks/osperf/osperf.c: fix spelling mistakes
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
This commit is contained in:
parent
4f5c283438
commit
9a73fb7f4b
1 changed files with 3 additions and 3 deletions
|
|
@ -188,10 +188,10 @@ static size_t pthread_create_performance(void)
|
|||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Contxt create performance
|
||||
* Context create performance
|
||||
****************************************************************************/
|
||||
|
||||
static FAR void *context_swtich_task(FAR void *arg)
|
||||
static FAR void *context_switch_task(FAR void *arg)
|
||||
{
|
||||
FAR struct performance_time_s *time = arg;
|
||||
sched_yield();
|
||||
|
|
@ -204,7 +204,7 @@ static size_t context_switch_performance(void)
|
|||
struct performance_time_s time;
|
||||
int tid;
|
||||
|
||||
tid = performance_thread_create(context_swtich_task, &time,
|
||||
tid = performance_thread_create(context_switch_task, &time,
|
||||
CONFIG_INIT_PRIORITY);
|
||||
sched_yield();
|
||||
performance_start(&time);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue