import-trace: log output number formatting fixed

Change-Id: Ifb81df86cb16254c04c946fa2cefca7030d2dd7a
This commit is contained in:
Horst Schirmeier
2014-06-25 23:23:47 +02:00
parent 7394a2cd53
commit ad0a15855d

View File

@ -382,7 +382,7 @@ bool Importer::add_trace_event(margin_info_t &begin, margin_info_t &end,
m_row_count ++; m_row_count ++;
if (m_row_count % 10000 == 0) { if (m_row_count % 10000 == 0) {
LOG << "Inserted " << m_row_count << " trace events into the database" << std::endl; LOG << "Inserted " << std::dec << m_row_count << " trace events into the database" << std::endl;
} }
return true; return true;
@ -446,6 +446,6 @@ bool Importer::close_ec_intervals() {
} }
} }
LOG << "Inserted " << (m_row_count - row_count_real) << " fake trace events into the database" << std::endl; LOG << "Inserted " << std::dec << (m_row_count - row_count_real) << " fake trace events into the database" << std::endl;
return true; return true;
} }