PULP-OS : Performance measures

PULP-OS : Performance measures2019-05-21T10:05:27+00:00
Viewing 1 reply thread
  • Author
    Posts
    • Simon NarduzziSimon Narduzzi
      Participant
      Post count: 5

      Hello,

      I’m trying to compare the performance of the GAP8 in the following tasks:
      – Processing an array sequentially (on FC)
      – Processing an array in parallel, accessing the indices sequentially (on CL)
      – Processing an array in parallel, accessing the indices in random order (on CL)

      By initializing the rt_perf object like this :
      rt_perf_init(perf1);
      rt_perf_conf(perf1, (1<https://drive.google.com/open?id=19T50kJuJn6JfoqPuZEi_ybB4muLXXlJy

      Thank you for your help,
      Best regards,
      Simon

    • Francesco PaciFrancesco Paci
      Participant
      Post count: 6

      Hi Simon,
      I took a look at your code.

      The problem is that you have to reinit the performance counter each time if you want to measure the timo for each call, otherwise what you get is cumulative result. This is not very clear in the documentation so I will update it.

      For example then:

      rt_perf_conf(perf1, (1<https://github.com/GreenWaves-Technologies/gap_sdk/blob/master/examples/pulp-examples/kernel/freq/test.c

      To change it on the cluster:
      rt_freq_set(RT_FREQ_DOMAIN_CL, freq_in_hz);
      To change it on the cluster:
      rt_freq_set(RT_FREQ_DOMAIN_FC, freq_in_hz);

      Francesco Paci

Viewing 1 reply thread
  • You must be logged in to reply to this topic.