Home
last modified time | relevance | path

Searched refs:TIME_W (Results 1 - 1 of 1) sorted by relevance

/base/hiviewdfx/hilog/services/hilogtool/
H A Dlog_display.cpp41 static constexpr int TIME_W = 20; member
54 char buffer[TIME_W] = {0}; in TimeStr()
62 len += strftime(buffer, TIME_W, "%m-%d %H:%M:%S", &tmLocal); in TimeStr()
63 ret = snprintf_s(buffer + len, TIME_W - len, TIME_W - len - 1, ".%03u", tv_nsec / NS2MS); in TimeStr()
87 cout << setw(TIME_W) << "TIME" << colCmd; in PrintStatsTitile()
89 cout << setw(TIME_W) << "TIME" << colCmd; in PrintStatsTitile()
119 cout << setw(TIME_W) << TimeStr(rsp.freqMaxSec, rsp.freqMaxNsec) << colCmd; in PrintStats()
121 cout << setw(TIME_W) << TimeStr(rsp.tpMaxSec, rsp.tpMaxNsec) << colCmd; in PrintStats()
129 char buffer[TIME_W] in DurationStr()
[all...]

Completed in 2 milliseconds