Better_Software_Header_MobileBetter_Software_Header_Web

Find what you need - explore our website and developer resources

How to Profile QtQuick applications on Freescale i.MX 6 with vAnalyzer

Galcore version 5.0.11.19959
Galcore options:
  irqLine = 41
  registerMemBase = 0x00130000
  registerMemSize = 0x00004000
  irqLine2D = 42
  registerMemBase2D = 0x00134000
  registerMemSize2D = 0x00004000
  irqLineVG = 43
  registerMemBaseVG = 0x02204000
  registerMemSizeVG = 0x00004000
  contiguousSize = 134217728
  contiguousBase = 0x3CB00000
  bankSize = 0x00000000
  fastClear = -1
  compression = -1
  signal = 48
  powerManagement = 0
  baseAddress = 0x00000000
  physSize = 0x00000000
  logFileSize = 0 KB
  recovery = 1
  stuckDump = 1
  gpuProfiler = 1
import QtQuick 2.0

Item {
    id: root
    width: 1024
    height: 768

    Component {
        id: rectComponent

        Rectangle {
            id: rect
            x: Math.random() * root.width
            y: Math.random() * root.height
            width: Math.random() * root.width
            height: Math.random() * root.height
            color: Qt.rgba(Math.random(), Math.random(), Math.random(), Math.random())

            NumberAnimation on rotation {
                duration: Math.random() * 1000;
                from: 0
                to: 360
                running: true
                loops: Animation.Infinite
            }
        }
    }

    function createSomeRects() {
        for (var i = 0; i < 10; i++) {
            rectComponent.createObject(root);
        }
    }

    Timer {
        interval: 2000
        repeat: true
        running: true
        onTriggered: createSomeRects()
    }

    Component.onCompleted: createSomeRects();
}

QtQuick Rectangles Example

vAnalyzer Main Window (click to enlarge)


4 Comments

6 - Aug - 2015

Andreas Rid

6 - Aug - 2015

Thomas McGuire

14 - Oct - 2015

Jacek Skalski

14 - Oct - 2015

Thomas McGuire