CCS Profiler Clock shows irregular cycle count

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium
    • Code Composer Studio Debugger
    • CCBT-3698
    • Hide
      CCS_20.0.0
      CCS_20.2.0
      Show
      CCS_20.0.0 CCS_20.2.0
    • CCS_21.0.0
    • Generic

      CCS has an option to profile the code(Run->Clock). The clock shows irregular cycle counts for any function executed. For example, NOP on any core is supposed to take 1 cycle, even with deep pipeline(C7x), the cycle should be relevant. For 11 NOPs, I expect 11 cycles or something close, but CCS reports 5897 cycles. For comparison, there is a time stamp counter in C7x(TSC), it reports 12 cycles for the execution. 

      Steps to reproduce on AM62D/AM62A(C7x):

      • Replace the hello_world.c file in examples/hello_world. Compile it in debug mode.
      • Load it using CCS.
      • Enable the profile clock(Run->Clock->Enable)
      • Set a breakpoint before the NOP and at the end of NOP.

       

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

              Created:
              Updated:

                Connection: Intermediate to External PROD System
                EXTSYNC-6356 - CCS Profiler Clock shows irregular ...
                SYNCHRONIZED
                • Last Sync Date: