Commit e424a28f authored by Valentin Touzeau's avatar Valentin Touzeau

Improves chrono resolution

parent f76d0562
......@@ -154,9 +154,9 @@ protected:
}
auto end = std::chrono::system_clock::now();
auto elapsed = std::chrono::duration_cast<std::chrono::seconds>(end - start);
auto elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(end - start);
if(logFor(LOG_FUN))
log << "\tExact Global May Analysis running time: " << elapsed.count() << " s" << io::endl;
log << "\tExact Global May Analysis running time: " << elapsed.count() << " ms" << io::endl;
// for(int i = 0; i < m_coll->size(); ++i) {
// const icat3::LBlockSet& s = (*m_coll)[i];
......
......@@ -164,9 +164,9 @@ protected:
processLBlock(lb);
auto end = std::chrono::system_clock::now();
auto elapsed = std::chrono::duration_cast<std::chrono::seconds>(end - start);
auto elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(end - start);
if(logFor(LOG_FUN))
log << "\tExact May Analysis running time: " << elapsed.count() << " s" << io::endl;
log << "\tExact May Analysis running time: " << elapsed.count() << " ms" << io::endl;
// for(int i = 0; i < m_coll->size(); ++i) {
// const icat3::LBlockSet& s = (*m_coll)[i];
......
......@@ -154,9 +154,9 @@ protected:
}
auto end = std::chrono::system_clock::now();
auto elapsed = std::chrono::duration_cast<std::chrono::seconds>(end - start);
auto elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(end - start);
if(logFor(LOG_FUN))
log << "\tExact Global Must Analysis running time: " << elapsed.count() << " s" << io::endl;
log << "\tExact Global Must Analysis running time: " << elapsed.count() << " ms" << io::endl;
// for(int i = 0; i < m_coll->size(); ++i) {
// const icat3::LBlockSet& s = (*m_coll)[i];
......
......@@ -164,9 +164,9 @@ protected:
processLBlock(lb);
auto end = std::chrono::system_clock::now();
auto elapsed = std::chrono::duration_cast<std::chrono::seconds>(end - start);
auto elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(end - start);
if(logFor(LOG_FUN))
log << "\tExact Must Analysis running time: " << elapsed.count() << " s" << io::endl;
log << "\tExact Must Analysis running time: " << elapsed.count() << " ms" << io::endl;
// for(int i = 0; i < m_coll->size(); ++i) {
// const icat3::LBlockSet& s = (*m_coll)[i];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment