Topic
3 replies Latest Post - ‏2013-07-09T12:54:12Z by richard.france
rahul281
rahul281
5 Posts
ACCEPTED ANSWER

Pinned topic TDP Development

‏2013-07-08T08:54:13Z |

Hi,

The tdp iam using is cvisualDsp++ ,

In the library settings>Clock Interface>RTRT_CLOCK:- RTRT_USR

Iam not able to generate the performance profile for all the functions.

It is showing 0 Units in RunTime trace and 0 secs in performance profile(functional time)

 

Regards,

System Admin

  • richard.france
    richard.france
    773 Posts
    ACCEPTED ANSWER

    Re: TDP Development

    ‏2013-07-09T07:58:43Z  in response to rahul281

    what is the content of your TDP usr_clock ?

    • rahul281
      rahul281
      5 Posts
      ACCEPTED ANSWER

      Re: TDP Development

      ‏2013-07-09T11:36:19Z  in response to richard.france

      Dear Richard,

      Thanks for ur reply.

      The content in the usr_clock :-

      void usr_clock(RTRT_CLOCK_TYPE *P)

         { 

              *P=1;

         }

      Can u please suggest me,the code that to be inserted here,to get my performance profile.

       

       

      Updated on 2013-07-09T11:38:59Z at 2013-07-09T11:38:59Z by rahul281
      • richard.france
        richard.france
        773 Posts
        ACCEPTED ANSWER

        Re: TDP Development

        ‏2013-07-09T12:54:12Z  in response to rahul281

        unfortunately not.

        I do not know your target specifics.

        anyway if your usr_clock function always returns 1 it is like the clock does not move forward and the delta time is 0.

        you have to read the processor or RTOS or simulator documentation to find where you can find a counter base on the CPU clock.