Forum Discussion

CAlex's avatar
CAlex
Icon for Contributor rankContributor
2 years ago
Solved

Cyclone V SoC CPU and thread question

Hi, On my board(with Linux) I have two CPUs, so I created the other thread try to make full use of the other CPU use the command pthread_create(). Now I wonder whether the other CPU(let's say CPU1) had been working or not. Do you have any thought or ways to prove/test the CPU useage? reguards.
  • Hi CAlex,


    Try to use/type the command "top". It will shows some information related to CPU usage.


    Thanks.

    Regards,

    Aik Eu


4 Replies

  • aikeu's avatar
    aikeu
    Icon for Regular Contributor rankRegular Contributor

    Hi CAlex,


    I will check with the team regarding your question.


    Thanks.

    Regards,

    Aik Eu


  • aikeu's avatar
    aikeu
    Icon for Regular Contributor rankRegular Contributor

    Hi CAlex,


    Try to use/type the command "top". It will shows some information related to CPU usage.


    Thanks.

    Regards,

    Aik Eu


  • aikeu's avatar
    aikeu
    Icon for Regular Contributor rankRegular Contributor

    Hi CAlex,


    I will close this thread if no further question.


    Thanks.

    Regards,

    Aik Eu


    • CAlex's avatar
      CAlex
      Icon for Contributor rankContributor

      Sure, do what you must.

      Thank you for your help