Home
last modified time | relevance | path

Searched refs:stat (Results 1 – 25 of 55) sorted by relevance

123

/developtools/smartperf_host/trace_streamer/doc/
Ddes_stat.md2 TraceStreamer使用stat表统计解析trace数据源过程遇到的重要事件状态。通过stat表可以对trace数据源中各个类型事件的数据的数量,数据质量有一个基本了解。
4 ## stat表支持统计的事件
/developtools/packing_tool/adapter/scanner/
DREADME_zh.md23 java -jar app_check_tool.jar --input ./test.app --out-path ./test --stat-duplicate true
32 | --stat-duplicate | 否 | 是否扫描重复文件。默认为false。<br>true:启用。<br>false:不启用。 |
40 "param":"--stat-duplicate",
68 <td colspan="2">--stat-duplicate</td>
123 java -jar app_check_tool.jar --input ./test.app --out-path ./test --stat-file-size 4
132 | --stat-file-size | 否 | 扫描超过设定大小的文件,单位KB <br>范围为 0-4294967295 KB。 |
140 "param":"--stat-file-size 4",
163 <td colspan="2">--stat-file-size 4</td>
209 java -jar app_check_tool.jar --input ./test.app --out-path ./test --stat-suffix true
218 | --stat-suffix | 否 | 是否统计各类型文件大小及占比。默认为false。<br>true:启用。<br>false:不启用。|
[all …]
/developtools/profiler/device/plugins/cpu_plugin/test/unittest/
Dcpu_data_plugin_unittest.cpp75 TestStat stat; member
230 void GetSystemCpuTime(TestSystemStat& stat, int64_t Hz, int64_t& usageTime, int64_t& time) in GetSystemCpuTime() argument
232 usageTime = (stat.user + stat.nice + stat.system + stat.irq + stat.softirq + stat.steal) * Hz; in GetSystemCpuTime()
233 time = usageTime + (stat.idle + stat.iowait) * Hz; in GetSystemCpuTime()
238 TestSystemStat stat = g_systemStat[0]; in GetCpuUsage() local
239 int64_t userTime = stat.user * Hz; in GetCpuUsage()
240 int64_t sysTime = stat.system * Hz; in GetCpuUsage()
241 …int64_t totalTime = (stat.user + stat.nice + stat.system + stat.irq + stat.softirq + stat.steal) *… in GetCpuUsage()
242 int64_t bootTime = totalTime + (stat.idle + stat.iowait) * Hz; in GetCpuUsage()
354 threadCpuTime = (g_tidStat[i].stat.utime + g_tidStat[i].stat.stime) * Hz;
[all …]
/developtools/profiler/hiebpf/src/
Dhiebpf.bpf.c197 struct pf_stat_t stat; in read_modify_update_page_fault_stats() local
198 int err = (int) bpf_probe_read_kernel(&stat, sizeof(stat), stat_ptr); in read_modify_update_page_fault_stats()
203 u32 tot_duration = stat.tot_duration + duration; in read_modify_update_page_fault_stats()
204 u32 avg_duration = tot_duration / (stat.count + 1); in read_modify_update_page_fault_stats()
205 stat.dev_duration = (duration * duration + stat.count * stat.dev_duration in read_modify_update_page_fault_stats()
206 + stat.tot_duration * stat.avg_duration - tot_duration * avg_duration) in read_modify_update_page_fault_stats()
207 / (stat.count + 1); in read_modify_update_page_fault_stats()
208 ++stat.count; in read_modify_update_page_fault_stats()
209 stat.tot_duration = tot_duration; in read_modify_update_page_fault_stats()
210 stat.avg_duration = avg_duration; in read_modify_update_page_fault_stats()
[all …]
/developtools/ace_js2bundle/ace-loader/
Dmodule-source.js34 stat = fs.stat;
44 stat(_src, function(err, st){
/developtools/hdc/src/test/
Dut_runtime.cpp198 struct stat statbuf; in ResetUtTmpFolder()
199 if (!stat(UT_TMP_PATH.c_str(), &statbuf)) in ResetUtTmpFolder()
203 struct stat statbuf; in ResetUtTmpFolder()
204 if (!stat(UT_TMP_PATH.c_str(), &statbuf)) { in ResetUtTmpFolder()
216 struct stat statbuf; in ResetUtTmpFile()
217 if (!stat(utFile.c_str(), &statbuf)) { in ResetUtTmpFile()
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/utils/
Dutils.ts37 const stat = fs.statSync(child); constant
38 if (stat.isDirectory()) {
/developtools/hdc/src/common/
Dfile.cpp252 TransferConfig &stat = ctxNow.transferConfig; in SlaveCheck() local
253 SerialStruct::ParseFromString(stat, serialString); in SlaveCheck()
254 ctxNow.fileSize = stat.fileSize; in SlaveCheck()
255 ctxNow.localPath = stat.path; in SlaveCheck()
262 if (!CheckLocalPath(ctxNow.localPath, stat.optionalName, errStr)) { in SlaveCheck()
267 if (!CheckFilename(ctxNow.localPath, stat.optionalName, errStr)) { in SlaveCheck()
272 childRet = SmartSlavePath(stat.clientCwd, ctxNow.localPath, stat.optionalName.c_str()); in SlaveCheck()
Ddebug.cpp65 struct stat statbuf; in ReadHexFromDebugFile()
66 stat(pathName, &statbuf); in ReadHexFromDebugFile()
Dauth.cpp250 struct stat status; in GetUserKeyPath()
260 if (stat(path.c_str(), &status)) { in GetUserKeyPath()
275 struct stat status; in LoadHostUserKey()
280 if (stat(path.c_str(), &status) == -1) { in LoadHostUserKey()
439 struct stat buf; in LoadDaemonKey()
443 if (!stat(p, &buf)) { in LoadDaemonKey()
644 struct stat status; in TryLoadPublicKey()
650 if (stat(prikey_filename.c_str(), &status) == -1) { in TryLoadPublicKey()
/developtools/smartperf_host/trace_streamer/src/base/
Dfile.cpp34 void SetAnalysisResult(TraceParserStatus stat) in SetAnalysisResult() argument
36 g_status = stat; in SetAnalysisResult()
Dfile.h33 void SetAnalysisResult(TraceParserStatus stat);
/developtools/ace_ets2bundle/compiler/src/fast_build/visual/
Drollup-plugin-visual.ts67 const stat: fs.Stats = fs.statSync(visualId); constant
68 const currentTimestamp: number = stat.mtime.getTime();
/developtools/profiler/device/base/src/
Dcommon.cpp199 int stat; in KillProcess() local
201 if (waitpid(pid, &stat, 0) == -1) { in KillProcess()
203 stat = -1; in KillProcess()
206 return stat; in KillProcess()
319 int stat = 0; in CustomPclose() local
326 while (waitpid(childPid, &stat, 0) == -1) { in CustomPclose()
349 return stat; in CustomPclose()
359 int stat = fcntl(fds[READ], F_GETFL); in CustomPUnblock() local
360 CHECK_TRUE(stat != -1, -1, "END fcntl(F_GETFL) failed!"); in CustomPUnblock()
362 if (!(stat & O_NONBLOCK)) { in CustomPUnblock()
/developtools/smartperf_host/trace_streamer/test/unittest/base/
Dexport_test.cpp51 struct stat statBuff; in ParseTraceFile()
52 stat(tracePath.c_str(), &statBuff); in ParseTraceFile()
/developtools/profiler/device/plugins/hidump_plugin/src/
Dhidump_plugin.cpp239 int stat; in CustomPclose() local
248 if (waitpid(g_child, &stat, 0) == -1) { in CustomPclose()
250 stat = errno; in CustomPclose()
253 return stat; in CustomPclose()
/developtools/integration_verification/tools/deps_guard/elf_file_mgr/
Delf_file.py20 from stat import *
30 self["size"] = os.stat(self._f)[ST_SIZE]
/developtools/profiler/device/plugins/ftrace_plugin/src/
Dftrace_fs_ops.cpp48 struct stat s; in GetFtraceRoot()
279 struct stat st = {}; in AddPlatformEvents()
281 if (stat(typePath.c_str(), &st) != 0 || !S_ISDIR(st.st_mode)) { in AddPlatformEvents()
285 struct stat st = {}; in AddPlatformEvents()
287 if (stat(namePath.c_str(), &st) != 0 || !S_ISDIR(st.st_mode)) { in AddPlatformEvents()
/developtools/smartperf_host/trace_streamer/src/parser/htrace_pbreader_parser/
Dhtrace_disk_io_parser.cpp36 auto stat = diskioData.statsdata(); in Parse() local
37 ProtoReader::StatsData_Reader statsData(stat); in Parse()
/developtools/global_resource_tool/src/
Dfile_entry.cpp118 struct stat s; in Exist()
119 if (stat(path.c_str(), &s) != 0) { in Exist()
172 struct stat s; in IsDirectory()
173 stat(path.c_str(), &s); in IsDirectory()
/developtools/ace_ets2bundle/compiler/src/
Dcomponent_map.ts38 const stat: any = fs.statSync(fPath); constant
39 if (stat.isFile()) {
/developtools/syscap_codec/src/
Dcontext_tool.c44 struct stat statBuf; in GetFileContext()
60 ret = stat(path, &statBuf); in GetFileContext()
/developtools/hiperf/
DREADME_zh.md211 事件名称用于 stat 和 record 的 -e 和 -g 参数
223 ### stat 命令
228 Usage: hiperf stat [options] [command [command-args]]
235 ./hiperf stat -d 3 -c 0
/developtools/hdc/hdc_rust/src/cffi/
Dmount.cpp86 struct stat info; in RemountDevice()
/developtools/hiperf/test/unittest/common/native/include/
Dcallstack_test.h168 struct stat sb = {}; in LoadFromFile()

123