benchmarks/osperf/osperf.c: fix spelling mistakes

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
This commit is contained in:
Michal Lenc 2025-06-13 08:30:18 +02:00 committed by Xiang Xiao
parent 4f5c283438
commit 9a73fb7f4b

View file

@ -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);