git-svn-id: svn://db.shs.com.ru/pip@191 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2016-04-15 13:02:45 +00:00
parent 91a5221761
commit bfa8eb902b

View File

@@ -110,7 +110,7 @@ void PIDiagnostics::tick(void * , int ) {
bytes_recv_sec = ullong(double(recv.bytes_ok) / itr);
bytes_send_sec = ullong(double(send.bytes_ok) / its);
immediate_freq = double(history_rec.front().cnt_ok) / hz;
piCoutObj << "tick" << recv.cnt_ok << send.cnt_ok;
// piCoutObj << "tick" << recv.cnt_ok << send.cnt_ok;
// speedRecv = PIString::readableSize(ullong(double(history_rec.front().bytes_ok) / hz)) + "/s";
// speedSend = PIString::readableSize(ullong(double(history_send.front().bytes_ok) / hz)) + "/s";
speedRecv = PIString::readableSize(bytes_recv_sec) + "/s";
@@ -156,7 +156,7 @@ PIDiagnostics::Entry PIDiagnostics::calcHistory(PIQueue<Entry> & hist, int & cnt
if (!hist[i].empty) cnt++;
}
e.empty = false;
piCoutObj << hist.size() << cnt;
// piCoutObj << hist.size() << cnt;
return e;
}