Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12612 Discussions

How to measure task context switching time

Altera_Forum
Honored Contributor II
1,104 Views

Hi, 

 

I'm using uCos-II on Altera DE2 board, and I want to measure a context switching time between two tasks. 

 

I tried to use a timestamp function to measure the time, but unfortunately it is not working well. 

 

What are the functions that are called during context switch (OS_Sched() and ..?) ? 

 

 

I'd be very grateful if anyone can help on this :)
0 Kudos
0 Replies
Reply