mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-26 08:01:51 +08:00
Mac build
This commit is contained in:
parent
b29113f70b
commit
47c3ddc09f
@ -268,7 +268,7 @@ void GraphicsHistogramItem::paintByPtr(QPainter* _painter)
|
||||
}
|
||||
|
||||
_painter->setPen(profiler_gui::TEXT_COLOR);
|
||||
const auto eventsCount = m_pProfilerThread->events.size();
|
||||
const auto eventsCount = static_cast<uint64_t>(m_pProfilerThread->events.size());
|
||||
const auto blocksCount = m_pProfilerThread->blocks_number - eventsCount;
|
||||
|
||||
QString durationsStr;
|
||||
|
@ -450,7 +450,7 @@ void TreeWidgetLoader::setTreeInternalTop(
|
||||
"Please, reduce selected area width\n"
|
||||
"or increase maximum count in settings\n"
|
||||
"or change the tree mode."
|
||||
).arg(profiler_gui::shortenCountString(_maxCount))
|
||||
).arg(profiler_gui::shortenCountString(static_cast<uint64_t>(_maxCount)))
|
||||
.arg(profiler_gui::shortenCountString(total_count))
|
||||
.arg(profiler_gui::percent(total_count, _maxCount));
|
||||
setDone();
|
||||
|
Loading…
x
Reference in New Issue
Block a user