Home
last modified time | relevance | path

Searched refs:stat (Results 1 - 25 of 78) sorted by relevance

1234

/arkcompiler/ets_runtime/ecmascript/dfx/vmstat/
H A Dfunction_call_timer.cpp66 FunctionCallStat stat(funcName, isAot); in InitialStatAndTimer()
67 aotCallStat_[methodId] = stat; in InitialStatAndTimer()
73 FunctionCallStat stat(funcName, isAot); in InitialStatAndTimer()
74 intCallStat_[methodId] = stat; in InitialStatAndTimer()
84 LOG_ECMA(INFO) << "function call stat:"; in PrintAllStats()
96 for (auto &stat : aotCallStat_) { in PrintAllStats()
97 callStatVec.emplace_back(stat.second); in PrintAllStats()
99 for (auto &stat : intCallStat_) { in PrintAllStats()
100 callStatVec.emplace_back(stat.second); in PrintAllStats()
108 for (auto &stat in PrintAllStats()
[all...]
H A Druntime_stat.h66 RuntimeTimerScope(int callerId, EcmaRuntimeStat *stat) in RuntimeTimerScope() argument
68 if (stat == nullptr || !stat->IsRuntimeStatEnabled()) { in RuntimeTimerScope()
71 stats_ = stat; in RuntimeTimerScope()
/arkcompiler/runtime_core/static_core/gn/build/
H A Dcmake_configure_file.py20 import stat namespace
83 mode = stat.S_IWUSR | stat.S_IRUSR
86 os.chmod(args.output, os.stat(args.input).st_mode & 0o777)
/arkcompiler/ets_runtime/ecmascript/extractortool/src/
H A Dzip_file_reader.cpp22 #include <sys/stat.h>
66 struct stat fileStat{}; in GetFileLen()
67 if (stat(filePath.c_str(), &fileStat) == 0) { in GetFileLen()
/arkcompiler/runtime_core/libpandafile/
H A Dfile_item_container.cpp772 std::map<std::string, size_t> stat; in GetStat() local
777 stat["header_item"] = sizeof(File::Header); in GetStat()
778 stat["class_idx_item"] = class_map_.size() * ID_SIZE; in GetStat()
779 stat["line_number_program_idx_item"] = line_number_program_index_item_.GetNumItems() * ID_SIZE in GetStat()
783 stat["literalarray_idx"] = literalarray_map_.size() * ID_SIZE; in GetStat()
785 stat["literalarray_idx"] = 0; in GetStat()
788 stat["index_section_item"] = index_section_item_.GetSize(); in GetStat()
789 stat["foreign_item"] = GetForeignSize() + foreign_item_roundup_size_; in GetStat()
800 auto it = stat.find(name); in GetStat()
801 if (it != stat in GetStat()
828 std::map<std::string, Stat> stat; DumpItemsStat() local
[all...]
/arkcompiler/ets_runtime/ecmascript/platform/common/
H A Dfilesystem.cpp19 #include <sys/stat.h>
62 struct stat info; in FileSize()
63 stat(path.c_str(), &info); in FileSize()
69 struct stat info; in RemoveAll()
70 if (stat(path.c_str(), &info) != 0) { in RemoveAll()
/arkcompiler/runtime_core/compiler/optimizer/
H A Dpass_manager_statistics.cpp52 for (const auto& stat : pass_stat_list_) { in PrintStatistics()
53 auto indent = stat.run_depth * OFFSET_STAT; in PrintStatistics()
56 << std::setw(OFFSET_PASS_NAME - indent) << stat.pass_name << ": " << std::right in PrintStatistics()
57 << std::setw(OFFSET_DEFAULT) << stat.mem_used_ir << std::setw(OFFSET_DEFAULT) in PrintStatistics()
58 << stat.mem_used_local << std::setw(OFFSET_DEFAULT) << stat.time_us << std::endl; in PrintStatistics()
61 total_time += stat.time_us; in PrintStatistics()
/arkcompiler/runtime_core/static_core/compiler/optimizer/
H A Dpass_manager_statistics.cpp54 for (const auto& stat : passStatList_) { in PrintStatistics()
55 auto indent = stat.runDepth * OFFSET_STAT; in PrintStatistics()
58 << std::left << std::setw(OFFSET_PASS_NAME - indent) << stat.passName << ": " in PrintStatistics()
59 << std::right << std::setw(OFFSET_DEFAULT) << stat.memUsedIr << std::setw(OFFSET_DEFAULT) in PrintStatistics()
60 << stat.memUsedLocal << std::setw(OFFSET_DEFAULT) << stat.timeUs << std::endl; in PrintStatistics()
63 total_time += stat.timeUs; in PrintStatistics()
/arkcompiler/runtime_core/static_core/libpandafile/
H A Dfile_item_container.cpp728 std::map<std::string, size_t> stat; in GetStat() local
733 stat["header_item"] = sizeof(File::Header); in GetStat()
734 stat["class_idx_item"] = classMap_.size() * ID_SIZE; in GetStat()
735 stat["line_number_program_idx_item"] = lineNumberProgramIndexItem_.GetNumItems() * ID_SIZE; in GetStat()
736 stat["literalarray_idx"] = literalarrayMap_.size() * ID_SIZE; in GetStat()
738 stat["region_section_item"] = regionSectionItem_.GetSize(); in GetStat()
739 stat["foreign_item"] = GetForeignSize(); in GetStat()
750 auto it = stat.find(name); in GetStat()
751 if (it != stat.cend()) { in GetStat()
752 stat[nam in GetStat()
774 std::map<std::string, Stat> stat; DumpItemsStat() local
[all...]
/arkcompiler/ets_frontend/ets2panda/util/
H A DgenerateBin.cpp84 auto &stat = *statp; in GenerateProgramImpl() local
85 for (const auto &[name, size] : stat) { in GenerateProgramImpl()
94 std::cout << name << ": " << stat.at(std::string(name)) << std::endl; in GenerateProgramImpl()
105 std::map<std::string, size_t> stat; in GenerateProgram() local
106 std::map<std::string, size_t> *statp = options->OptLevel() != 0 ? &stat : nullptr; in GenerateProgram()
/arkcompiler/toolchain/build/prebuilts_download/
H A Dutil.py62 modes = stat.S_IWUSR | stat.S_IRUSR
94 modes = stat.S_IWUSR | stat.S_IRUSR
/arkcompiler/ets_frontend/test/scripts/utils/flash_image/
H A Dburn_image.py20 import stat namespace
44 modes = stat.S_IWUSR | stat.S_IRUSR
/arkcompiler/toolchain/build/toolchain/
H A Dget_concurrent_links.py36 stat = MEMORYSTATUSEX(dwLength=ctypes.sizeof(MEMORYSTATUSEX))
37 ctypes.windll.kernel32.GlobalMemoryStatusEx(ctypes.byref(stat))
38 return stat.ullTotalPhys
/arkcompiler/ets_frontend/es2panda/aot/
H A Dmain.cpp70 static void DumpPandaFileSizeStatistic(std::map<std::string, size_t> &stat) in DumpPandaFileSizeStatistic() argument
76 for (const auto &[name, size] : stat) { in DumpPandaFileSizeStatistic()
85 std::cout << name << ": " << stat.at(std::string(name)) << std::endl; in DumpPandaFileSizeStatistic()
91 static void DumpPandaFileSizePctStatistic(std::map<std::string, size_t> &stat) in DumpPandaFileSizePctStatistic() argument
97 for (const auto &[name, size] : stat) { in DumpPandaFileSizePctStatistic()
108 for (const auto &[name, size] : stat) { in DumpPandaFileSizePctStatistic()
197 std::map<std::string, size_t> stat; in GenerateProgram() local
198 std::map<std::string, size_t> *statp = (dumpSize || dumpSizePct) ? &stat : nullptr; in GenerateProgram()
205 DumpPandaFileSizeStatistic(stat); in GenerateProgram()
209 DumpPandaFileSizePctStatistic(stat); in GenerateProgram()
[all...]
/arkcompiler/toolchain/build/config/mac/
H A Dxcrun.py26 modes = stat.S_IWUSR | stat.S_IRUSR
/arkcompiler/runtime_core/static_core/dprof/libstorage/dprof/
H A Dstorage.cpp24 #include <sys/stat.h>
98 struct stat statBuffer {}; in Create()
99 if (::stat(storageDir.c_str(), &statBuffer) == 0) { in Create()
180 struct stat statbuf {}; in ForEachApps()
181 if (stat(path.c_str(), &statbuf) == -1) { in ForEachApps()
182 PLOG(ERROR, DPROF) << "stat() failed, path=" << path; in ForEachApps()
/arkcompiler/runtime_core/platforms/unix/libpandabase/
H A Dfile.h34 #include <sys/stat.h>
97 struct stat st { in GetFileSize()
229 struct stat s = {}; in HasStatMode()
231 if (stat(path.c_str(), &s) != 0) { in HasStatMode()
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/graphics/
H A DXTexture.js71 this.ximages[rid] = { stat: 1, path: path, tex: texture, w: 1, h: 1 };
80 this.ximages[rid] = { stat: 0, path: path, tex: null };
98 XTexture.pinstance_.ximages[rid].stat = 1;
106 if (this.ximages[rid].stat !== 1) return -1;
158 this.ximages[rid] = { stat: 1, path: 'put' + rid, tex: tex, w: w, h: h };
180 stat: 1,
/arkcompiler/runtime_core/static_core/libpandabase/os/
H A Dfilesystem.cpp21 #include <sys/stat.h>
67 struct stat info {}; in IsDirExists()
68 return (stat(dirpath.c_str(), &info) == 0) && ((info.st_mode & static_cast<unsigned int>(S_IFDIR)) != 0U); in IsDirExists()
/arkcompiler/ets_frontend/test262/
H A Dmix_compile.py22 import stat namespace
40 modes = stat.S_IWUSR | stat.S_IRUSR
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/
H A Dfile.h34 #include <sys/stat.h>
94 struct stat st {}; in GetFileSize()
226 struct stat s = {}; in HasStatMode()
228 if (stat(path.c_str(), &s) != 0) { in HasStatMode()
/arkcompiler/ets_runtime/test/workloadtest/
H A Dwork_load.py30 import stat namespace
152 file_descriptor = os.open('toolspath.txt', args, stat.S_IRUSR | stat.S_IWUSR)
159 file_descriptor = os.open(file_path, args, stat.S_IRUSR | stat.S_IWUSR)
/arkcompiler/ets_frontend/test/scripts/utils/commit_message/
H A Dget_commit_message.py23 import stat namespace
75 mode = stat.S_IWUSR | stat.S_IRUSR
/arkcompiler/ets_frontend/es2panda/test/bytecode_file_size_comparison/test_cases/java_test_framework/
H A Drun_java.py22 import stat namespace
87 mode = stat.S_IWUSR | stat.S_IRUSR
/arkcompiler/toolchain/test/autotest/aw/
H A Dutils.py23 import stat namespace
144 stat.S_IRUSR | stat.S_IWUSR), 'wb')

Completed in 11 milliseconds

1234