Added also clock cycle to dragging in Analyzer

This commit is contained in:
Matthias Jung
2017-10-04 09:48:10 -04:00
parent 03bb8763bf
commit 427b76663a

View File

@@ -52,7 +52,8 @@ QwtText TracePlotMouseLabel::trackerText(const QPoint &point) const
}
else if(mode == MouseLabelMode::Timedifference)
{
return QwtText(formatInClks(timeDifferenceSpan.timeCovered(),clkPeriod));
traceTime mouseTime = timeDifferenceSpan.timeCovered();
return QwtText(prettyFormatTime(alignToClk(mouseTime,clkPeriod)) + "(" + formatInClks(mouseTime,clkPeriod) + ")");
}
else
{