🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

What is the value on the %DSP usage pin and why does it change?

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

Submitted by Joe on Wed, 11/18/2009 - 05:24 


I have a question about the %dsp usage pin on the DSPInterface block. When I run a diagram with a DSPInterface containing the path to my .out file, I connect the %dsp usagepin to a plot. After execution the plot shows some variation in the %dsp usage. How do I understand what the plot shows?

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Submitted by Anders89 on Wed, 11/18/2009 - 05:30.

    Hi Joe,
    VisSim gives you the percentage of your sampling interval that is used to execute your compiled diagram. If the value is 50, then you are using 1/2 of your sampling interval. For example, if your sampling interval was 20 microseconds, then you could sample 2x faster (10 microseconds) or add more calculation to your diagram.

    Variation in the time to execute your diagram can occur depending on the code path taken. If you have periodic functions, or conditional execution, small differences in timing can occur due few instructions executing or branch pipeline breaks. A