Home | History | Annotate | Download | only in gn

Lines Matching defs:out

64                      std::ostream& out) {
65 out << "File parse times: (time in ms, name)\n";
70 out << base::StringPrintf(" %8.2f ",
72 out << loads[i]->name() << std::endl;
77 std::ostream& out) {
95 out << base::StringPrintf(" %8.2f %d ",
97 out << *sorted[i].name_ptr << std::endl;
102 std::ostream& out) {
103 out << "File execute times: (total time in ms, # executions, name)\n";
104 SummarizeCoalesced(execs, out);
108 std::ostream& out) {
109 out << "Script execute times: (total time in ms, # executions, name)\n";
110 SummarizeCoalesced(execs, out);
215 std::ostringstream out;
216 SummarizeParses(parses, out);
217 out << std::endl;
218 SummarizeFileExecs(file_execs, out);
219 out << std::endl;
220 SummarizeScriptExecs(script_execs, out);
221 out << std::endl;
231 out << "Header check time: (total time in ms, files checked)\n";
232 out << base::StringPrintf(" %8.2f %d\n",
236 return out.str();
240 std::ostringstream out;
242 out << "{\"traceEvents\":[";
248 out << "{\"pid\":0,\"tid\":" << base::PlatformThread::CurrentId();
249 out << ",\"ts\":0,\"ph\":\"M\",";
250 out << "\"name\":\"thread_name\",\"args\":{\"name\":\"Main thread\"}},";
257 out << ",";
258 out << "{\"pid\":0,\"tid\":" << item.thread_id();
259 out << ",\"ts\":" << item.begin().ToInternalValue();
260 out << ",\"ph\":\"X\""; // "X" = complete event with begin & duration.
261 out << ",\"dur\":" << item.delta().InMicroseconds();
265 out << ",\"name\":" << quote_buffer;
267 out << ",\"cat\":";
270 out << "\"setup\"";
273 out << "\"load\"";
276 out << "\"parse\"";
279 out << "\"file_exec\"";
282 out << "\"file_write\"";
285 out << "\"script_exec\"";
288 out << "\"define\"";
291 out << "\"hdr\"";
294 out << "\"header_check\"";
299 out << ",\"args\":{";
304 out << "\"toolchain\":" << quote_buffer;
311 out << ",";
312 out << "\"cmdline\":" << quote_buffer;
315 out << "}";
317 out << "}";
320 out << "]}";
322 std::string out_str = out.str();