Set up an energy capture device

Set up an energy capture device to measure energy consumption during a capture session. These measurements help you identify inefficient use of energy that might compromise the user experience.

Note

Power profiling is a deprecated feature, and is being removed from Streamline in a future version.

Procedure

  1. In the Start view, click Capture Settings.

  2. Choose the appropriate option from the Energy capture menu:

    • If you do not want to capture energy data, select No energy data collection. All other energy capture options become inactive.

    • If you do want to capture energy data, select Arm Energy Probe or NI DAQ to match your energy capture hardware.

  3. In the Device field, enter the name of your target energy capture device. If you leave the Device field blank, Streamline attempts to detect your device automatically.

    • When using Arm Energy Probe on Linux, enter /dev/ttyACM0 in the Device field, if necessary.

    • When using NI DAQ, the device name depends on the drivers that are installed on the host. For example, when using NI DAQmx Base drivers, the device name is usually Dev1. You can determine the device name by using the National Instruments List Devices utility.

  4. If you are not using the default port 8081, enter the port number that you want Streamline to use to communicate with your energy capture device.

  5. In the Tool path field, enter the path to the caiman executable. This executable is required to use either the Arm Energy Probe or a NI DAQ device to gather power output statistics.

    Note

    To browse your file system, click Select the energy capture tool eye.

  6. Enter the configuration settings for each channel:

    • To collect energy data, in joules, select Energy.

    • To collect power data, in watts, select Power.

    • To collect voltage data, in volts, select Voltage.

    • To collect current data, in amps, select Current.

    • Enter the Resistance, in milliohms, of the shunt resistor that connects to each of the available channels. The default setting is 20 milliohms.

  7. Click Save.

Results

When you have connected your energy probe and run an energy capture session, the collected energy data appears in the Timeline view. Use the energy measurements to identify opportunities to improve energy consumption in the application, such as altering the frame rate and overdraw rate.