| /developtools/smartperf_host/trace_streamer/sdk/demo_sdk/rpc/ |
| D | http_server.cpp | 225 if (reqST.stat != RequstParseStat::INIT) { in ProcessClient() 227 reqST.stat = RequstParseStat::INIT; in ProcessClient() 246 if (reqST.stat == RequstParseStat::RECVING) { in ProcessClient() 250 reqST.stat = RequstParseStat::INIT; in ProcessClient() 276 if (reqST.stat != RequstParseStat::INIT) { in ProcessClient() 278 reqST.stat = RequstParseStat::INIT; in ProcessClient() 291 if (reqST.stat == RequstParseStat::RECVING) { in ProcessClient() 295 reqST.stat = RequstParseStat::INIT; in ProcessClient() 312 httpReq.stat = RequstParseStat::BAD; in ParseRequest() 315 httpReq.stat = RequstParseStat::RECVING; in ParseRequest() [all …]
|
| /developtools/smartperf_host/trace_streamer/sdk/dubai_sdk/rpc/ |
| D | http_server.cpp | 225 if (reqST.stat != RequstParseStat::INIT) { in ProcessClient() 226 reqST.stat = RequstParseStat::INIT; in ProcessClient() 245 if (reqST.stat == RequstParseStat::RECVING) { in ProcessClient() 248 reqST.stat = RequstParseStat::INIT; in ProcessClient() 274 if (reqST.stat != RequstParseStat::INIT) { in ProcessClient() 275 reqST.stat = RequstParseStat::INIT; in ProcessClient() 288 if (reqST.stat == RequstParseStat::RECVING) { in ProcessClient() 291 reqST.stat = RequstParseStat::INIT; in ProcessClient() 306 httpReq.stat = RequstParseStat::BAD; in ParseRequest() 309 httpReq.stat = RequstParseStat::RECVING; in ParseRequest() [all …]
|
| /developtools/profiler/host/smartperf/trace_streamer/src/rpc/ |
| D | http_server.cpp | 226 if (reqST.stat != RequstParseStat::INIT) { in ProcessClient() 228 reqST.stat = RequstParseStat::INIT; in ProcessClient() 247 if (reqST.stat == RequstParseStat::RECVING) { in ProcessClient() 251 reqST.stat = RequstParseStat::INIT; in ProcessClient() 277 if (reqST.stat != RequstParseStat::INIT) { in ProcessClient() 279 reqST.stat = RequstParseStat::INIT; in ProcessClient() 292 if (reqST.stat == RequstParseStat::RECVING) { in ProcessClient() 296 reqST.stat = RequstParseStat::INIT; in ProcessClient() 307 if (request.stat == RequstParseStat::RECVING) { in ProcessRequest() 311 } else if (request.stat != RequstParseStat::OK) { in ProcessRequest() [all …]
|
| /developtools/profiler/host/smartperf/trace_streamer/doc/ |
| D | des_stat.md | 2 TraceStreamer使用stat表统计解析trace数据源过程遇到的重要事件状态。通过stat表可以对trace数据源中各个类型事件的数据的数量,数据质量有一个基本了解。 4 ## stat表支持统计的事件
|
| /developtools/smartperf_host/trace_streamer/doc/ |
| D | des_stat.md | 2 TraceStreamer使用stat表统计解析trace数据源过程遇到的重要事件状态。通过stat表可以对trace数据源中各个类型事件的数据的数量,数据质量有一个基本了解。 4 ## stat表支持统计的事件
|
| /developtools/smartperf_host/trace_streamer/src/rpc/ |
| D | http_server.cpp | 217 if (reqST.stat == RequstParseStat::RECVING) { in ProcessAndParseReq() 221 reqST.stat = RequstParseStat::INIT; in ProcessAndParseReq() 244 if (reqST.stat != RequstParseStat::INIT) { in ProcessClient() 246 reqST.stat = RequstParseStat::INIT; in ProcessClient() 287 if (reqST.stat != RequstParseStat::INIT) { in ProcessClient() 289 reqST.stat = RequstParseStat::INIT; in ProcessClient() 308 if (request.stat == RequstParseStat::RECVING) { in ProcessRequest() 312 } else if (request.stat != RequstParseStat::OK) { in ProcessRequest() 364 httpReq.stat = RequstParseStat::BAD; in ParseRequest() 367 httpReq.stat = RequstParseStat::RECVING; in ParseRequest() [all …]
|
| /developtools/profiler/device/plugins/cpu_plugin/test/unittest/ |
| D | cpu_data_plugin_unittest.cpp | 75 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/ |
| D | hiebpf.bpf.c | 197 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/hdc/src/test/ |
| D | ut_runtime.cpp | 198 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_js2bundle/ace-loader/ |
| D | module-source.js | 34 stat = fs.stat; 44 stat(_src, function(err, st){
|
| /developtools/profiler/host/smartperf/ide/src/trace/component/metrics/ |
| D | TraceStatsStrategy.ts | 41 stat: statListItems, 46 stat: Array<StatItem>; property
|
| /developtools/smartperf_host/ide/src/trace/component/metrics/ |
| D | TraceStatsStrategy.ts | 41 stat: statListItems, 46 stat: Array<StatItem>; property
|
| /developtools/profiler/device/base/src/ |
| D | common.cpp | 181 int stat; in KillProcess() local 183 if (waitpid(pid, &stat, 0) == -1) { in KillProcess() 185 stat = -1; in KillProcess() 188 return stat; in KillProcess() 302 int stat = 0; in CustomPclose() local 309 while (waitpid(childPid, &stat, 0) == -1) { in CustomPclose() 332 return stat; in CustomPclose() 342 int stat = fcntl(fds[READ], F_GETFL); in CustomPUnblock() local 343 CHECK_TRUE(stat != -1, -1, "END fcntl(F_GETFL) failed!"); in CustomPUnblock() 345 if (!(stat & O_NONBLOCK)) { in CustomPUnblock()
|
| /developtools/hdc/src/common/ |
| D | file.cpp | 254 TransferConfig &stat = ctxNow.transferConfig; in SlaveCheck() local 255 SerialStruct::ParseFromString(stat, serialString); in SlaveCheck() 256 ctxNow.fileSize = stat.fileSize; in SlaveCheck() 257 ctxNow.localPath = stat.path; in SlaveCheck() 264 if (!CheckLocalPath(ctxNow.localPath, stat.optionalName, errStr)) { in SlaveCheck() 269 if (!CheckFilename(ctxNow.localPath, stat.optionalName, errStr)) { in SlaveCheck() 274 childRet = SmartSlavePath(stat.clientCwd, ctxNow.localPath, stat.optionalName.c_str()); in SlaveCheck()
|
| D | debug.cpp | 65 struct stat statbuf; in ReadHexFromDebugFile() 66 stat(pathName, &statbuf); in ReadHexFromDebugFile()
|
| D | auth.cpp | 250 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()
|
| /developtools/profiler/host/smartperf/trace_streamer/src/base/ |
| D | file.cpp | 34 void SetAnalysisResult(TraceParserStatus stat) in SetAnalysisResult() argument 36 g_status = stat; in SetAnalysisResult()
|
| /developtools/smartperf_host/trace_streamer/src/base/ |
| D | file.cpp | 34 void SetAnalysisResult(TraceParserStatus stat) in SetAnalysisResult() argument 36 g_status = stat; in SetAnalysisResult()
|
| /developtools/ace_ets2bundle/compiler/src/fast_build/visual/ |
| D | rollup-plugin-visual.ts | 67 const stat: fs.Stats = fs.statSync(visualId); constant 68 const currentTimestamp: number = stat.mtime.getTime();
|
| /developtools/profiler/device/plugins/ftrace_plugin/src/ |
| D | ftrace_fs_ops.cpp | 48 struct stat s; in GetFtraceRoot() 198 struct stat st = {}; in GetPlatformEvents() 200 if (stat(typePath.c_str(), &st) != 0 || !S_ISDIR(st.st_mode)) { in GetPlatformEvents() 204 struct stat st = {}; in GetPlatformEvents() 206 if (stat(namePath.c_str(), &st) != 0 || !S_ISDIR(st.st_mode)) { in GetPlatformEvents()
|
| /developtools/profiler/device/plugins/hidump_plugin/src/ |
| D | hidump_plugin.cpp | 223 int stat; in CustomPclose() local 232 if (waitpid(g_child, &stat, 0) == -1) { in CustomPclose() 234 stat = errno; in CustomPclose() 237 return stat; in CustomPclose()
|
| /developtools/integration_verification/tools/deps_guard/elf_file_mgr/ |
| D | elf_file.py | 20 from stat import * 30 self["size"] = os.stat(self._f)[ST_SIZE]
|
| /developtools/profiler/host/smartperf/trace_streamer/src/parser/htrace_pbreader_parser/ |
| D | htrace_disk_io_parser.cpp | 36 auto stat = diskioData.statsdata(); in Parse() local 37 ProtoReader::StatsData_Reader statsData(stat); in Parse()
|
| /developtools/smartperf_host/trace_streamer/src/parser/htrace_pbreader_parser/ |
| D | htrace_disk_io_parser.cpp | 36 auto stat = diskioData.statsdata(); in Parse() local 37 ProtoReader::StatsData_Reader statsData(stat); in Parse()
|
| /developtools/global_resource_tool/src/ |
| D | file_entry.cpp | 118 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()
|