How to Measure Core Usage - S12x and Xgate

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Measure Core Usage - S12x and Xgate

680 Views
subashr
Contributor III

Recently I had moved the CAN driver working out of s12x core to xgate. I want to measure the difference of core usage before and after this

Labels (1)
Tags (3)
1 Reply

544 Views
iggi
NXP Employee
NXP Employee

Well, there is no HW tool to do such a measurement, so you would need to do it by software.

Some examples you can find at the link below:

How to calculate CPU utilization | Embedded

As you may already know, the XGATE is a generic RISC CPU core and it is intended to be used as auxiliary core to unload the S12X CPU (main core). It works as an event triggered co-processor, mainly used for processing the interrupt events.

I hope you'll find this information useful.

Regards,

iggi