Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Profiling Blackfin VIs (Blackfin, Embedded Module)

You can display the performance information for VIs and functions in the Blackfin VIs you create to help you optimize Blackfin applications. Profiling sends execution times for functions and VIs to the host when the application terminates. If a Blackfin application does not terminate, use the BF Send Profile Data VI to trigger the sending of profile information to the host. You also can put the BF Send Profile VI in the Blackfin VI to specify the moment during the Blackfin application you want to profile.

Complete the following steps to profile a Blackfin VI you create.

  1. Create a new Blackfin project or open an existing project with a Blackfin target.
  2. Connect the serial port on the Blackfin device to a serial port on the host computer.
  3. Complete the following steps to configure a Blackfin target build specification for VI profiling.
    1. Right-click a Blackfin target build specification and select Properties from the shortcut menu.
    2. Click Application Information in the Category list.
    3. Click the Advanced tab and place a checkmark in the Redirect stdout to serial port checkbox.
    4. Click the General tab.
    5. Select Non-instrumented (via JTAG/EZ-KIT USB) in the Debug Mode section.
    6. Place a checkmark in the Enable profile information checkbox.
    7. Click the OK button.
  4. (Optional) Place a BF Send Profile Data VI on the block diagram to trigger the sending of profile information if the Blackfin application does not terminate.
  5. Right-click a Blackfin target build specification and select Profile from the shortcut menu. The Profile command builds (if necessary), deploys, and runs the Blackfin application and then displays the Profile Results window.

Refer to the Profiling and Optimizing an Embedded Application tutorial for more information about profiling Blackfin applications.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit