This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CODECOMPOSER: How To Verify Number of Parallel Builds

Part Number: CODECOMPOSER

Hello,

Ostensibly CCS 12.8.1 is using 16 cores to build but how might I verify that this is the case in Windows please?

image.png

  • Hi Kier,

    You should see the -j 16 passed to gmake like:

    **** Build of configuration 'Debug' for project 'sensorless-foc_DRV8323RS' ****

    "C:\\ti\\ccs2051\\ccs\\utils\\bin\\gmake" -k -j 16 all -r -O

    However, Just because it is configured to use a maximum of 16 threads, it doesn't mean the compiler will actually take advantage of all of them. How many threads are actually used can vary on a lot of factors beyond my expertise.

    Thanks

    ki

  • HI Ki,

    Yes, gmake is called with -j16 but I'm not convinced that more than one thread is actually used for compilation so I wondered how I might check the actual number. Do you know the name of the process in Task Manager for which I should see up to 16 instances please?

    The background is that my laptop used to rip through the compilation of my project but seems very slow in the last week and wanted to eliminate parallel build, or lack thereof.

  • I suppose you can look for the the name of compiler executable. When I compile a project using the TI Arm clang compiler, I see multiple instances of tiarmclang.exe.

    I'll bring this thread to the attention of the compiler experts for further insight.

  • The -j 16 option passed to gmake allows gmake to run multiple compilation commands simultaneously. It doesn't tell the compiler to use multiple threads. The compiler always uses one thread.

  • The -j 16 option passed to gmake allows gmake to run multiple compilation commands simultaneously. It doesn't tell the compiler to use multiple threads. The compiler always uses one thread.

    Sounds like thread was the wrong term but I'm guessing you understand the thrust of the question: How can I determine if and how many parallel jobs are run simultaneously in actuality? Is it, as Ki suggested, the number of tiarmlcang.exe's launched?

  • Thank you.

  • We are users of gmake, just like you.  It is likely our knowledge of gmake is similar.  

    How can I determine if and how many parallel jobs are run simultaneously in actuality? Is it, as Ki suggested, the number of tiarmlcang.exe's launched?

    I don't know what else it could be.

    Thanks and regards,

    -George

  • That's all I'm asking for. Thanks.