mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-28 01:04:41 +08:00
linux build
This commit is contained in:
parent
415ef43bbb
commit
95d13e98f1
@ -37,7 +37,7 @@ const BlocksTree* ProfTreeWidgetItem::block() const
|
||||
|
||||
void ProfTreeWidgetItem::setTimeSmart(int _column, const ::profiler::timestamp_t& _time)
|
||||
{
|
||||
setData(_column, Qt::UserRole, _time);
|
||||
setData(_column, Qt::UserRole, (quint64)_time);
|
||||
|
||||
setToolTip(_column, QString("%1 ns").arg(_time));
|
||||
|
||||
@ -61,7 +61,7 @@ void ProfTreeWidgetItem::setTimeSmart(int _column, const ::profiler::timestamp_t
|
||||
|
||||
void ProfTreeWidgetItem::setTimeMs(int _column, const ::profiler::timestamp_t& _time)
|
||||
{
|
||||
setData(_column, Qt::UserRole, _time);
|
||||
setData(_column, Qt::UserRole, (quint64)_time);
|
||||
setToolTip(_column, QString("%1 ns").arg(_time));
|
||||
setText(_column, QString::number(double(_time) * 1e-6, 'g', 9));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user