Home
last modified time | relevance | path

Searched refs:fout (Results 1 – 2 of 2) sorted by relevance

/hardware/google/camera/common/profiler/
Dprofiler.cc439 if (std::ofstream fout(filepath, std::ios::out); fout.is_open()) { in DumpTxt() local
440 fout << "// PROFILER_DELTA_TIME_AND_FPS, UNIT:MILLISECOND //\n"; in DumpTxt()
442 fout << node_name << " "; in DumpTxt()
447 fout << elapsed * kNanoToMilli << " "; in DumpTxt()
449 fout << "NA "; in DumpTxt()
452 fout << "\n"; in DumpTxt()
456 fout << node_name << " fps: NA"; in DumpTxt()
458 fout << node_name << " fps:" in DumpTxt()
462 fout << "\n"; in DumpTxt()
465 fout << "\n// PROFILER_START_TIME, AVG TIMESTAMP, UNIT:NANOSECOND //\n"; in DumpTxt()
[all …]
/hardware/google/gfxstream/guest/mesa/src/util/
Dos_misc.c82 static FILE *fout = NULL; in os_log_message() local
84 if (!fout) { in os_log_message()
90 fout = stdout; in os_log_message()
100 fout = fopen(filename, mode); in os_log_message()
104 if (!fout) in os_log_message()
105 fout = stderr; in os_log_message()
113 fputs(message, fout); in os_log_message()
114 fflush(fout); in os_log_message()
116 else if (fout != stderr) { in os_log_message()
117 fputs(message, fout); in os_log_message()
[all …]