Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler_encoder.cpp46 if (!RealPath(outDir_, realOutPath_, false)) { in InitializeData()
51 …if (realOutPath_.compare(realOutPath_.length() - endString.length(), endString.length(), endString… in InitializeData()
52 realOutPath_ += PROFILE_FILE_NAME; in InitializeData()
54 LOG_ECMA(INFO) << "Save profiler to file:" << realOutPath_; in InitializeData()
104 LOG_ECMA(ERROR) << "Fail to load ap: " << realOutPath_; in MergeWithExistProfile()
124 auto tmpOutPath = realOutPath_ + "." + std::to_string(getpid()) + "." + tempSuffix; in SaveAndRename()
142 if (FileExist(realOutPath_.c_str()) && remove(realOutPath_.c_str())) { in SaveAndRename()
143 LOG_ECMA(ERROR) << "Remove " << realOutPath_ << " failure!, errno: " << errno; in SaveAndRename()
146 if (rename(tmpOutPath.c_str(), realOutPath_.c_str())) { in SaveAndRename()
147 …LOG_ECMA(ERROR) << "Rename " << tmpOutPath << " --> " << realOutPath_ << " failure!, errno: " << e… in SaveAndRename()
[all …]
Dpgo_profiler_encoder.h71 std::string realOutPath_; variable