forked from qt-creator/qt-creator
QmlProfiler: displaying event durations in milliseconds
Change-Id: Idec442d744891bae8c9986717c32283a9440db9b Reviewed-on: http://codereview.qt.nokia.com/531 Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
@@ -71,7 +71,9 @@ BorderImage {
|
|||||||
anchors.top: typeTitle.bottom
|
anchors.top: typeTitle.bottom
|
||||||
Detail {
|
Detail {
|
||||||
label: "Duration"
|
label: "Duration"
|
||||||
content: rangeDetails.duration + "μs"
|
content: rangeDetails.duration < 1000 ?
|
||||||
|
rangeDetails.duration + "μs" :
|
||||||
|
Math.floor(rangeDetails.duration/1000) + "ms"
|
||||||
}
|
}
|
||||||
Detail {
|
Detail {
|
||||||
opacity: content.length !== 0 ? 1 : 0
|
opacity: content.length !== 0 ? 1 : 0
|
||||||
|
|||||||
Reference in New Issue
Block a user