Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 25 of 54) sorted by relevance

123

/developtools/profiler/device/plugins/native_daemon/
Dnative_daemon_client.cpp46 std::string arg(argv[i]); in main() local
47 if (arg == "--help" || arg == "-h") { in main()
84 if ((arg == "--start") || (arg == "-s")) { in main()
86 } else if ((arg == "--stop") || (arg == "-k")) { in main()
88 } else if ((arg == "--pid") || (arg == "-p")) { in main()
90 } else if ((arg == "--filePath") || (arg == "-f")) { in main()
92 } else if ((arg == "--duration") || (arg == "-d")) { in main()
94 } else if ((arg == "--filterSize") || (arg == "-fs")) { in main()
96 } else if ((arg == "--shareMemorySize") || (arg == "-sms")) { in main()
98 } else if ((arg == "--processName") || (arg == "-pn")) { in main()
[all …]
/developtools/hdc/hdc_rust/src/
Dutils.rs94 ($($arg:tt)+) => {
96 hilog_rust::debug!(LOG_LABEL, "{} {}", @public(head), @public(format!($($arg)+)));
97 log::trace!($($arg)+);
104 ($($arg:tt)+) => {
105 log::trace!($($arg)+);
112 ($($arg:tt)+) => {
114 hilog_rust::debug!(LOG_LABEL, "{} {}", @public(head), @public(format!($($arg)+)));
115 log::debug!($($arg)+);
122 ($($arg:tt)+) => {
123 log::debug!($($arg)+);
[all …]
/developtools/profiler/host/smartperf/client/client_command/
Dsp_log.cpp81 va_list arg; in SpLog() local
82 ret = memset_s(&arg, sizeof(va_list), 0, sizeof(va_list)); in SpLog()
87 va_start(arg, fmt); in SpLog()
88 ret = vsprintf_s(logBuf, sizeof(logBuf), fmt, arg); in SpLog()
89 va_end(arg); in SpLog()
/developtools/hiperf/include/
Dcallstack.h90 int need_unwind_info, void *arg);
92 int writeOperation, void *arg);
94 int writeOperation, void *arg);
95 static void PutUnwindInfo(unw_addr_space_t as, unw_proc_info_t *pi, void *arg);
97 int writeOperation, void *arg);
98 static int GetDynInfoListAaddr(unw_addr_space_t as, unw_word_t *dil_vaddr, void *arg);
99 static int Resume(unw_addr_space_t as, unw_cursor_t *cu, void *arg);
101 unw_word_t *offp, void *arg);
104 unw_proc_info_t *pi, int need_unwind_info, void *arg);
132 static int FindUnwindTable(uintptr_t pc, UnwindTableInfo& outTableInfo, void *arg);
[all …]
/developtools/profiler/device/plugins/native_daemon/include/
Dcall_stack.h75 int need_unwind_info, void *arg);
77 int writeOperation, void *arg);
79 int writeOperation, void *arg);
80 static void PutUnwindInfo(unw_addr_space_t as, unw_proc_info_t *pi, void *arg);
82 int writeOperation, void *arg);
83 static int GetDynInfoListAaddr(unw_addr_space_t as, unw_word_t *dil_vaddr, void *arg);
84 static int Resume(unw_addr_space_t as, unw_cursor_t *cu, void *arg);
86 unw_word_t *offp, void *arg);
89 unw_proc_info_t *pi, int need_unwind_info, void *arg);
117 static int FindUnwindTable(uintptr_t pc, UnwindTableInfo& outTableInfo, void *arg);
[all …]
/developtools/hdc/src/test/
Dut_runtime.h45 static void StartServer(uv_work_t *arg);
46 static void StartDaemon(uv_work_t *arg);
47 static void CheckStopServer(uv_idle_t *arg);
48 static void CheckStopDaemon(uv_idle_t *arg);
Dut_runtime.cpp54 void Runtime::CheckStopServer(uv_idle_t *arg) in CheckStopServer() argument
56 Runtime *thisClass = (Runtime *)arg->data; in CheckStopServer()
66 void Runtime::StartServer(uv_work_t *arg) in StartServer() argument
69 Runtime *thisClass = static_cast<Runtime *>(arg->data); in StartServer()
84 void Runtime::CheckStopDaemon(uv_idle_t *arg) in CheckStopDaemon() argument
86 Runtime *thisClass = (Runtime *)arg->data; in CheckStopDaemon()
96 void Runtime::StartDaemon(uv_work_t *arg) in StartDaemon() argument
98 Runtime *thisClass = static_cast<Runtime *>(arg->data); in StartDaemon()
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/frequsage/
DTabPaneFreqDataCut.ts665arg: { i: number; percent: number; startTime: number; consumption: number; countMutiple: number },
677 (arg.consumption * value.dur) / arg.countMutiple,
682 arg.percent,
684 arg.i,
693 ((funData.ts + funData.dur - arg.startTime) * arg.consumption) / arg.countMutiple,
696 funData.ts + funData.dur - arg.startTime,
698 ((funData.ts + funData.dur - arg.startTime) / value.dur) * arg.percent,
700 arg.i,
709 (funData.dur * arg.consumption) / arg.countMutiple,
714 (funData.dur / value.dur) * arg.percent,
[all …]
/developtools/hdc/hdc_rust/src/host/
Dparser.rs168 let arg = if opt.len() > 2 { in extract_global_params() localVariable
176 if arg == "verbose" { in extract_global_params()
184 if let Ok(level) = arg.parse::<usize>() { in extract_global_params()
204 parsed_command.connect_key = arg.to_string(); in extract_global_params()
205 if arg.len() > MAX_CONNECTKEY_SIZE.into() { in extract_global_params()
208 arg.len() in extract_global_params()
212 match parse_server_listen_string(arg.to_string()) { in extract_global_params()
237 fn parse_server_listen_string(arg: String) -> io::Result<String> { in parse_server_listen_string()
238 let segments: Vec<&str> = arg.split(':').collect(); in parse_server_listen_string()
253 let ip_str = &arg[..arg.len() - port_len - 1]; in parse_server_listen_string()
[all …]
Dserver.rs138 .arg("/C") in server_fork()
139 .arg("start") in server_fork()
140 .arg("") in server_fork()
141 .arg("/B") in server_fork()
142 .arg(current_exe) in server_fork()
143 .arg("-b") in server_fork()
144 .arg("-m") in server_fork()
145 .arg("-l") in server_fork()
146 .arg(log_level.to_string()) in server_fork()
147 .arg("-s") in server_fork()
[all …]
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/frequsage/
DTabPaneFreqDataCut.test.ts304 let arg = {i: 1, percent: 20, startTime: 0, consumption: 30, countMutiple: 3}; variable
308 expect(tabPaneFreqDataCut.returnSingleObj(str, arg, value, funData, flag)).toEqual({
327 let arg = {i: 1, percent: 20, startTime: 0, consumption: 30, countMutiple: 3}; variable
331 expect(tabPaneFreqDataCut.returnSingleObj(str, arg, value, funData, flag)).toEqual({
350 let arg = {i: 1, percent: 20, startTime: 0, consumption: 30, countMutiple: 3}; variable
354 expect(tabPaneFreqDataCut.returnSingleObj(str, arg, value, funData, flag)).toEqual({
373 let arg = {i: 1, percent: 20, startTime: 0, consumption: 30, countMutiple: 3}; variable
377 expect(tabPaneFreqDataCut.returnSingleObj(str, arg, value, funData, flag)).toEqual({
649 let arg = {i: 1, percent: 20, startTime: 0, consumption: 30, countMutiple: 3}; variable
653 expect(tabPaneFreqDataCut.returnLoopObj(str, arg, value, funData, flag)).toEqual({
[all …]
/developtools/profiler/device/plugins/native_daemon/src/
Dcall_stack.cpp170 unw_proc_info_t *pi, int need_unwind_info, void *arg) in FindUnwindTable() argument
220 tdep_search_unwind_table(as, ip, &di, pi, need_unwind_info, arg)); in FindUnwindTable()
240 int need_unwind_info, void *arg) in FindProcInfo() argument
242 UnwindInfo *unwindInfoPtr = static_cast<UnwindInfo *>(arg); in FindProcInfo()
250 arg); in FindProcInfo()
264 unw_word_t *valuePoint, int writeOperation, void *arg) in AccessMem() argument
266 UnwindInfo *unwindInfoPtr = static_cast<UnwindInfo *>(arg); in AccessMem()
299 unw_word_t *valuePoint, int writeOperation, void *arg) in AccessReg() argument
301 UnwindInfo *unwindInfoPtr = static_cast<UnwindInfo *>(arg); in AccessReg()
323 [[maybe_unused]] unw_proc_info_t *pi, [[maybe_unused]] void *arg) in PutUnwindInfo() argument
[all …]
/developtools/integration_verification/DeployDevice/src/util/
Dtime_info.py60 def global_trace(self, frame, why, arg): argument
66 def local_trace(self, frame, why, arg): argument
76 def __init__(self, arg): argument
81 super(Timeout, self).__init__(arg)
/developtools/smartperf_host/trace_streamer/src/filter/
Dfilter_filter.cpp31 uint32_t FilterFilter::AddFilter(std::string type, std::string name, uint64_t arg) in AddFilter() argument
34 filter->AppendNewFilterData(type, name, arg); in AddFilter()
Dfilter_filter.h32 uint32_t AddFilter(std::string type, std::string name, uint64_t arg);
/developtools/hiperf/src/
Dcallstack.cpp186 unw_proc_info_t *pi, int need_unwind_info, void *arg) in FindUnwindTable() argument
239 tdep_search_unwind_table(as, ip, &di, pi, need_unwind_info, arg)); in FindUnwindTable()
259 int need_unwind_info, void *arg) in FindProcInfo() argument
261 UnwindInfo *unwindInfoPtr = static_cast<UnwindInfo *>(arg); in FindProcInfo()
268 … return FindUnwindTable(symbolsFile, map, unwindInfoPtr, as, ip, pi, need_unwind_info, arg); in FindProcInfo()
282 unw_word_t *valuePoint, int writeOperation, void *arg) in AccessMem() argument
284 UnwindInfo *unwindInfoPtr = static_cast<UnwindInfo *>(arg); in AccessMem()
314 unw_word_t *valuePoint, int writeOperation, void *arg) in AccessReg() argument
316 UnwindInfo *unwindInfoPtr = static_cast<UnwindInfo *>(arg); in AccessReg()
346 [[maybe_unused]] unw_proc_info_t *pi, [[maybe_unused]] void *arg) in PutUnwindInfo() argument
[all …]
Dcommand.cpp27 for (std::string arg : arguments) { in DispatchCommands() local
29 fullArgument.append(arg); in DispatchCommands()
/developtools/syscap_codec/src/
Dmain.c44 static void OutputVersion(const char *arg, int opt);
209 void OutputVersion(const char *arg, int opt) in OutputVersion() argument
211 if (arg != NULL && opt > 1) { in OutputVersion()
212 printf("syscap_tool: extra operand \"%s\"\n", arg); in OutputVersion()
/developtools/smartperf_host/ide/src/trace/database/sql/
DPerf.sql.ts74 let arg = `${arg1}${arg2}${arg3}`.substring(3); variable
75 sql = `${sql} and (${arg})`;
100 let arg = `${arg1}${arg2}${arg3}`.substring(3); variable
101 sql = `${sql} and (${arg})`;
/developtools/smartperf_host/ide/src/trace/component/chart/
DSpChartManager.ts325 arg: unknown, // @ts-ignore
332 arg.useCache = useCache;
335 arg[contextField] = context;
337 (renders[tag] as unknown).renderMainThread(arg, row);
DSpHiPerf.ts412 …rowThreadHandler<T>(tag: string, contextField: string, arg: unknown, row: TraceRow<unknown>, trace…
416 arg.useCache = useCache; //@ts-ignore
417 arg.scale = TraceRow.range?.scale || 50; //@ts-ignore
418 arg.range = TraceRow.range;
421 arg[contextField] = context;
423 (renders[tag] as unknown).renderMainThread(arg, row);
/developtools/hiperf/script/
Dhiperf_utils.py133 def dir_check(arg): argument
134 path = os.path.realpath(arg)
140 def file_check(arg): argument
141 path = os.path.realpath(arg)
150 for arg in arg_list:
151 res += arg
/developtools/hdc/hdc_rust/src/cffi/host/
Dhost_usb.h127 static void UsbWorkThread(void *arg); // 3rd thread
128 static void WatchUsbNodeChange(void *arg);
/developtools/hdc/src/daemon/
Dshell.h36 static void *ShellFork(void *arg);
/developtools/hdc/src/common/
Dasync_cmd.h47 static void *Popen(void *arg);

123