• Home
  • Raw
  • Download

Lines Matching refs:rsp

95 static uint32_t GetTotalLines(const StatsRsp &rsp)  in GetTotalLines()  argument
100 lines += rsp.lines[i]; in GetTotalLines()
105 static uint64_t GetTotalLen(const StatsRsp &rsp) in GetTotalLen() argument
110 len += rsp.len[i]; in GetTotalLen()
115 static void PrintStats(const StatsRsp &rsp) in PrintStats() argument
118 cout << setw(FREQ_W) << setprecision(FLOAT_PRECSION) << rsp.freqMax << colCmd; in PrintStats()
119 cout << setw(TIME_W) << TimeStr(rsp.freqMaxSec, rsp.freqMaxNsec) << colCmd; in PrintStats()
120 cout << setw(TP_W) << setprecision(FLOAT_PRECSION) << rsp.throughputMax << colCmd; in PrintStats()
121 cout << setw(TIME_W) << TimeStr(rsp.tpMaxSec, rsp.tpMaxNsec) << colCmd; in PrintStats()
122 cout << setw(LINES_W) << GetTotalLines(rsp) << colCmd; in PrintStats()
123 cout << setw(LENGTH_W) << Size2Str(GetTotalLen(rsp)) << colCmd; in PrintStats()
124 cout << setw(DROPPED_W) << rsp.dropped << colCmd; in PrintStats()
168 static void HilogShowDomainStatsInfo(const StatsQueryRsp& rsp) in HilogShowDomainStatsInfo() argument
175 for (i = 0; i < rsp.typeNum; i++) { in HilogShowDomainStatsInfo()
176 LogTypeDomainStatsRsp &ldStats = rsp.ldStats[i]; in HilogShowDomainStatsInfo()
229 static void HilogShowProcStatsInfo(const StatsQueryRsp& rsp) in HilogShowProcStatsInfo() argument
236 if (rsp.pStats == nullptr) { in HilogShowProcStatsInfo()
240 SortProcList(vp, rsp.pStats, rsp.procNum); in HilogShowProcStatsInfo()
241 for (i = 0; i < rsp.procNum; i++) { in HilogShowProcStatsInfo()
274 void HilogShowLogStatsInfo(const StatsQueryRsp& rsp) in HilogShowLogStatsInfo() argument
277 cout << "Log statistic report (Duration: " << DurationStr(rsp.durationSec, rsp.durationNsec); in HilogShowLogStatsInfo()
278 cout << ", From: " << TimeStr(rsp.tsBeginSec, rsp.tsBeginNsec) << "):" << endl; in HilogShowLogStatsInfo()
282 lines += rsp.totalLines[i]; in HilogShowLogStatsInfo()
283 lens += rsp.totalLens[i]; in HilogShowLogStatsInfo()
292 cout << level << " lines: " << rsp.totalLines[i]; in HilogShowLogStatsInfo()
293 …cout << "(" << setprecision(FLOAT_PRECSION) << (static_cast<float>(rsp.totalLines[i] * PERCENT) / … in HilogShowLogStatsInfo()
295 cout << ", length: " << Size2Str(rsp.totalLens[i]); in HilogShowLogStatsInfo()
296 …cout << "(" << setprecision(FLOAT_PRECSION) << (static_cast<float>(rsp.totalLens[i] * PERCENT) / l… in HilogShowLogStatsInfo()
301 HilogShowDomainStatsInfo(rsp); in HilogShowLogStatsInfo()
303 HilogShowProcStatsInfo(rsp); in HilogShowLogStatsInfo()