Lines Matching refs:titles
150 std::vector<std::string> titles; in ShowText() local
153 titles = {"thread_name", "pid", "tid"}; in ShowText()
156 titles.emplace_back("cpu"); in ShowText()
158 titles.emplace_back("count"); in ShowText()
159 titles.emplace_back("event_name"); in ShowText()
160 titles.emplace_back(" # count / runtime, runtime / enabled_time"); in ShowText()
162 std::vector<size_t> width(titles.size(), 0); in ShowText()
167 for (size_t i = 0; i + 1 < titles.size(); i++) { in ShowText()
168 adjust_width(width[i], titles[i].size()); in ShowText()
187 for (size_t i = 0; i < titles.size(); i++) { in ShowText()
188 if (titles[i] == "count") { in ShowText()
189 fprintf(fp, "%*s", static_cast<int>(width[i]), titles[i].c_str()); in ShowText()
191 fprintf(fp, "%-*s", static_cast<int>(width[i]), titles[i].c_str()); in ShowText()
193 if (i + 1 < titles.size()) { in ShowText()