Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

Peak CPU load

Altera_Forum
Honored Contributor II
756 Views

Hi, 

 

MicroC/OS-II has a statistics task which allows you to monitor CPU load with the OSCPUUsage variable. This runs fine but I am interested in measuring peak performance. Does anybody know a method to measure that?
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
84 Views

There is probably not anything available, but you could craft one via the OSTaskIdleHook(). It sounds like you are simply looking for the maximum elapsed time between invocations of that hook. In other words, the longest period of time that your software is not-idle.

Reply