/developtools/profiler/device/plugins/native_daemon/src/ |
H A D | debug_logger.cpp | 51 if (file_ != nullptr) { in ~DebugLogger() 52 fclose(file_); in ~DebugLogger() 53 file_ = nullptr; in ~DebugLogger() 113 } else if (file_ != nullptr) { in Log() 119 fprintf(file_, "%05" PRId64 " ms %s", (int64_t)timeStamp.count(), buffer.data()); // to the file in Log() 130 fflush(file_); in Log() 174 if (file_ != nullptr) { in SetLogPath() 175 fclose(file_); in SetLogPath() 176 file_ = nullptr; in SetLogPath() 236 if (file_ ! in OpenLog() [all...] |
/developtools/hiperf/src/ |
H A D | debug_logger.cpp | 50 if (file_ != nullptr) { in ~DebugLogger() 51 fclose(file_); in ~DebugLogger() 52 file_ = nullptr; in ~DebugLogger() 113 } else if (file_ != nullptr) { in Log() 119 fprintf(file_, "%05" PRId64 "ms %s", (int64_t)timeStamp.count(), buffer.data()); // to the file in Log() 130 fflush(file_); in Log() 176 if (file_ != nullptr) { in SetLogPath() 177 fclose(file_); in SetLogPath() 178 file_ = nullptr; in SetLogPath() 257 if (file_ ! in OpenLog() [all...] |
/developtools/profiler/device/plugins/gpu_plugin/src/ |
H A D | gpu_data_plugin.cpp | 34 file_.open(GPU_PATH); in Start() 35 if (!file_.is_open()) { in Start() 69 file_.close(); in Stop() 76 file_.clear(); in ReadFile() 77 file_.seekg(0); in ReadFile() 79 std::getline(file_, line); in ReadFile()
|
/developtools/profiler/hiebpf/src/ |
H A D | bpf_event_receiver.cpp | 84 auto file = file_.lock(); in ReceiveFSTraceEvent() 108 auto file = file_.lock(); in ReceivePFTraceEvent() 131 auto file = file_.lock(); in ReceiveBIOTraceEvent() 157 auto file = file_.lock(); in ReceiveSTRTraceEvent() 191 auto file = file_.lock(); in WriteEventMaps() 224 auto file = file_.lock(); in WriteSymbolInfo()
|
/developtools/profiler/device/plugins/gpu_plugin/include/ |
H A D | gpu_data_plugin.h | 53 std::ifstream file_; member in GpuDataPlugin
|
/developtools/profiler/device/plugins/gpu_plugin/test/unittest/ |
H A D | gpu_data_plugin_unittest.cpp | 98 gpuPlugin.file_.close(); in PluginGpuInfoStub() 99 gpuPlugin.file_.open(g_path); in PluginGpuInfoStub()
|
/developtools/profiler/hiebpf/include/ |
H A D | bpf_event_receiver.h | 264 inline BPFEventReceiver(const std::weak_ptr<HiebpfDataFile> &file) : file_ {file} {} in BPFEventReceiver() 333 std::weak_ptr<HiebpfDataFile> file_ {};
|
/developtools/ace_js2bundle/ace-loader/src/ |
H A D | resource-plugin.js | 80 fs.readdirSync(realPath).forEach(function(file_) { 81 const file = path.join(realPath, file_); 86 const outputFile = path.join(outputPath, ext, path.basename(file_)); 102 circularFile(inputPath, outputPath, path.join(ext, file_));
|
/developtools/hiperf/test/unittest/common/native/ |
H A D | option_debug_test.cpp | 84 if (fflush(DebugLogger::GetInstance()->file_) != 0) { in LogLevelTest()
|
H A D | debug_logger_test.cpp | 83 fflush(DebugLogger::GetInstance()->file_); in LogLevelTest()
|
/developtools/profiler/device/plugins/native_daemon/include/ |
H A D | debug_logger.h | 120 FILE *file_ = nullptr; member in OHOS::Developtools::NativeDaemon::DebugLogger
|
/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/ |
H A D | debug_logger_test.cpp | 77 fflush(DebugLogger::GetInstance()->file_); in LogLevelTest()
|
/developtools/hiperf/include/ |
H A D | debug_logger.h | 133 FILE *file_ = nullptr; member in OHOS::Developtools::HiPerf::DebugLogger
|