Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-11358

Inconsistent timing in FreeRTOS UT

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • PDK
    • PDK-13066
    • PROCESSOR_SDK_08.06.00
    • PROCESSOR_SDK_09.01.00
    • j721e-evm

      Issue Resolution
      The unit test executes the following independent tests within ping_main()

      1.     test_taskSwitchWithSemaphore();
      2.     test_taskSwitchWithTaskNotify();
      3.     test_taskYield();
      4.     test_taskToIsrUsingSemaphoreAndNoTaskSwitch();
      5.     test_taskToIsrUsingTaskNotifyAndNoTaskSwitch();
      6.     test_taskToIsrUsingSemaphoreAndWithTaskSwitch();
      7.     test_taskToIsrUsingTaskNotifyAndWithTaskSwitch();
      8.     test_taskSwitchWithFloatOperations();
      9.     test_taskToIsrWithFloatOperations();
      10.     test_taskDelay();

      each of which performs it's own execution time check which it reports.

      With different combinations of the test included, the execution time seems to vary. 
      Please see the results below:

      TestIDs Time
      1 2679 2626 2624 2624 4438 2628 2619 2615 4181 2619
      2 1806 1799 1801 1805 1804 1805 1801 1813 3389  
      3 501 500 501 503 501 502 499 498    
      4 771 774 774 771 777 774 774      
      5 753 753 753 756 762 759        
      6 8853 5677 5307 3508 3522          
      7 2748 2744 2749 2744            
      8 2695 2629 2624              
      9 P P                
      10 P                  

      Workaround
      NA

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: