Changeset 19137
- Timestamp:
- 08/03/18 21:08:14 (6 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fits2sql.cc
r19136 r19137 702 702 try 703 703 { 704 // Exchange _send and _received as it is the view of the server 704 705 const auto &res1 = connection.query("SHOW STATUS LIKE 'Bytes_%'").store(); 705 cout << left << setw(16) << res1[ 0]["Variable_name"] << ' ' << Tools::Scientific(res1[0]["Value"]) << endl;706 cout << left << setw(16) << res1[ 1]["Variable_name"] << ' ' << Tools::Scientific(res1[1]["Value"]) << endl;706 cout << left << setw(16) << res1[1]["Variable_name"] << ' ' << Tools::Scientific(res1[0]["Value"]) << endl; 707 cout << left << setw(16) << res1[0]["Variable_name"] << ' ' << Tools::Scientific(res1[1]["Value"]) << endl; 707 708 cout << endl; 708 709 } -
trunk/FACT++/src/root2sql.cc
r19136 r19137 690 690 try 691 691 { 692 // Exchange _send and _received as it is the view of the server 692 693 const auto &res1 = connection.query("SHOW STATUS LIKE 'Bytes_%'").store(); 693 cout << left << setw(16) << res1[ 0]["Variable_name"] << ' ' << Tools::Scientific(res1[0]["Value"]) << endl;694 cout << left << setw(16) << res1[ 1]["Variable_name"] << ' ' << Tools::Scientific(res1[1]["Value"]) << endl;694 cout << left << setw(16) << res1[1]["Variable_name"] << ' ' << Tools::Scientific(res1[0]["Value"]) << endl; 695 cout << left << setw(16) << res1[0]["Variable_name"] << ' ' << Tools::Scientific(res1[1]["Value"]) << endl; 695 696 cout << endl; 696 697 } -
trunk/FACT++/src/rootifysql.cc
r19136 r19137 945 945 try 946 946 { 947 // Exchange _send and _received as it is the view of the server 947 948 const auto &res1 = connection.query("SHOW STATUS LIKE 'Bytes_%'").store(); 948 cout << left << setw(16) << res1[ 0]["Variable_name"] << ' ' << Tools::Scientific(res1[0]["Value"]) << endl;949 cout << left << setw(16) << res1[ 1]["Variable_name"] << ' ' << Tools::Scientific(res1[1]["Value"]) << endl;949 cout << left << setw(16) << res1[1]["Variable_name"] << ' ' << Tools::Scientific(res1[0]["Value"]) << endl; 950 cout << left << setw(16) << res1[0]["Variable_name"] << ' ' << Tools::Scientific(res1[1]["Value"]) << endl; 950 951 cout << endl; 951 952 }
Note:
See TracChangeset
for help on using the changeset viewer.