Changeset 19122 for trunk


Ignore:
Timestamp:
08/01/18 19:11:10 (6 years ago)
Author:
tbretz
Message:
Print average execution time per row.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/calcsource.cc

    r19115 r19122  
    630630    if (verbose>0)
    631631    {
    632         cout << "Total execution time: " << Time().UnixTime()-start.UnixTime() << "s\n" << endl;
     632        const auto sec = Time().UnixTime()-start.UnixTime();
     633        cout << "Total execution time: " << sec << "s ";
     634        cout << "(" << Tools::Fractional(sec/count) << "s/row)\n";
    633635
    634636        try
Note: See TracChangeset for help on using the changeset viewer.