This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can I recompile RT_Agent.c ?

Hello,

I want to "cheat" :-) and to plug something into the real time agent, in this function:

/*
 *  Send RTX Kernel task switch information to the host via Real-Time Agent
 *    Parameters:     tsk:    packed task switch message
 *    Return Value:   RTA_STATUS (0 = OK)
 */
__RTA_DEC void RTA_Task_Mon (unsigned int tsk) {

How do I do this? How do I recompile RT_Agent.c? Can you help me?

Parents
  • in fact, Thorsten, this is required in order to allow our client to measure some performance metrics of the system in question. luckily, RTX provides a deterministic was to tell when a context switch has occurred without the need to recompile the kernel or use RT agent (available only while debugging), thus we can compute the actual runtime of a task, taking into account runtime of interrupts that occurred in between.

Reply
  • in fact, Thorsten, this is required in order to allow our client to measure some performance metrics of the system in question. luckily, RTX provides a deterministic was to tell when a context switch has occurred without the need to recompile the kernel or use RT agent (available only while debugging), thus we can compute the actual runtime of a task, taking into account runtime of interrupts that occurred in between.

Children