Changeset 19121 for trunk/FACT++
- Timestamp:
- 08/01/18 19:10:06 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/rootifysql.cc
r19118 r19121 730 730 731 731 ofstream fout(write); 732 if (! fout)732 if (!write.empty() && !fout) 733 733 cout << "WARNING: Writing to '" << write << "' failed: " << strerror(errno) << endl; 734 734 … … 835 835 if (verbose>0) 836 836 { 837 const auto sec = Time().UnixTime()-start.UnixTime(); 838 837 839 cout << Tools::Scientific(tfile.GetSize()) << "B written to disk.\n"; 838 840 cout << "File closed.\n"; 839 cout << "Execution time: " << Time().UnixTime()-start.UnixTime() << "s\n"; 841 cout << "Execution time: " << sec << "s "; 842 cout << "(" << Tools::Fractional(sec/count) << "s/row)\n"; 840 843 cout << "--------------------------------------------------------------" << endl; 841 844
Note:
See TracChangeset
for help on using the changeset viewer.