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.

Can it identify tasks in Execution Graph?



Hi,

I modify the example bigclock project for OMAP L138 LCDK on SYS BIOS 6, CCS 5.4, C674X DSP part. It looks like having two tasks: task0(task ID 3) and task1(task ID 4). I also change the task ID 3 sleep time to 5, to make it is different from task ID 4. Both are priority 1. It also has two semaphores. On the Execution Graph, I cannot identify two tasks, two semaphores. Please see the following picture:

Then I change task1 priority from 1 to 2, hoping to identify it on Execution Graph. Although the graph has some changes, it still cannot identify two tasks, and two semaphores.

Can you explain it to me: Execution Graph can differentiate two tasks, two semaphores?

Thanks,

0005.bigtime.cpp

  • Hi Robert,

    It would be easy to identify the two tasks in the Execution graph, if they were running different functions.  In this example, both tasks use the function clockTask(), so both tasks show up under Task.clockTask in the execution graph.  You can either assign different functions to each task, or you will have to use the Live Session view to look at the Task handle of the event.  You can enable grouping in the Live Session View, so that when you click on a location in the execution graph, the corresponding event in the Live View event will highlighted.

    Best regards,

        Janet