This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to add DaemonNew callback to Execution graph?

Other Parts Discussed in Thread: SYSBIOS

Hi,

I am trying to find where my application is wasting time.

To get this I am using UIA  I have anabled task,swi and hwi using this configuration in cfg file:

var LoggingSetup = xdc.useModule('ti.uia.sysbios.LoggingSetup');
/* Increase the sysbios logger and turn Hwi and Swi logging off */
LoggingSetup.sysbiosLoggerSize = 32768;
LoggingSetup.mainLoggerSize = 8*1024;
LoggingSetup.loadLoggerSize = 32768;
LoggingSetup.loadLogging = true;
LoggingSetup.sysbiosTaskLogging = true;
LoggingSetup.sysbiosSwiLogging = true;
LoggingSetup.sysbiosHwiLogging = true;
LoggingSetup.eventUploadMode = LoggingSetup.UploadMode_NONJTAGTRANSPORT;

the application use ndk DaemonNew to create a udp connection  and the  callback function

doesn´t appear in Execution graph.

It would be good to have this callback function  in execution graph to get how much cycles is

consuming.

Could tell me if this is possible or what alternatives I have?

Thanks in advance.

Julian

  • Hi Julian,

    Were you able to get past this issue?  I see that you have posted another question, in which Todd explained that dchild is the Task in which your daemon callback is running (it seems like this is the answer you were looking for ...?).

    Steve

  • Hi steve,

    I found out how to get the execution time of the task. I did it using     

    Log_write1(UIABenchmark_start,(xdc_IArg)"Main for loop[printf_hello]");

    Log_write1(UIABenchmark_stop,(xdc_IArg)"Main for loop[printd_hello]");

    The only that this do is measure the elapsed time.

    The other thread answer help me because that let me know when is executed the callback function.

    Both approaches are usefull.

    Thanks.

    Julian