Home
last modified time | relevance | path

Searched refs:opt (Results 1 – 19 of 19) sorted by relevance

/developtools/hiperf/test/unittest/common/native/
Dhiperf_client_test.cpp38 static void TestCaseOption(const HiperfClient::RecordOption &opt);
152 void HiperfClientTest::TestCaseOption(const HiperfClient::RecordOption &opt) in TestCaseOption() argument
160 ASSERT_TRUE(myHiperf.Start(opt)); in TestCaseOption()
188 HiperfClient::RecordOption opt; variable
189 opt.SetTargetSystemWide(true);
191 TestCaseOption(opt);
196 HiperfClient::RecordOption opt; variable
198 opt.SetSelectPids(selectPids);
199 opt.SetCompressData(true);
200 TestCaseOption(opt);
[all …]
Dsubcommand_record_test.cpp49 void TestEvents(std::string &opt, std::string &uk, bool isFork = true);
235 std::string opt = "-d 10000.0 "; variable
236 opt += " ls "; // because UT don't need wait so long
237 ForkAndRunTest(opt, true, false);
242 std::string opt = "-d 10000.1 "; variable
243 opt += " ";
244 TestRecordCommand(opt, false);
290 std::string opt = "-d 2 -e sw-task-clock -c "; variable
292 opt += std::to_string(i);
293 opt += ",";
[all …]
/developtools/integration_verification/tools/fotff/rec/
Dflashandtest.go21 func FlashAndTest(ctx context.Context, opt *FlashAndTestOptions) error {
23 if err := opt.M.Flash(opt.Device, opt.Version, ctx); err != nil {
24 …logrus.Errorf("Failed to flash version %s to device %s, error: %s", opt.Version, opt.Device, err.E…
29 if err := opt.T.Prepare(opt.M.PkgDir(opt.Version), opt.Device, ctx); err != nil {
34 if opt.TestCase == "" {
36 results, err := opt.T.DoTestTask(opt.Device, ctx)
38 logrus.Errorf("Failed to run all test cases on device %s, error: %s", opt.Device, err.Error())
55 result, err := opt.T.DoTestCase(opt.Device, opt.TestCase, ctx)
57 …logrus.Errorf("Failed to run test case %s on device %s, error: %s", opt.TestCase, opt.Device, err.…
61 logrus.Infof("Flash and test for test case %s done, result: %s", opt.TestCase, result)
/developtools/hiperf/test/fuzztest/clientapi_fuzzer/
DClientApi_fuzzer.cpp56 HiperfClient::RecordOption opt; in FuzzClientApiOption() local
61 opt.SetOutputFilename(stringArg); in FuzzClientApiOption()
62 opt.SetTimeStopSec(size); in FuzzClientApiOption()
63 opt.SetFrequency(size); in FuzzClientApiOption()
64 opt.SetPeriod(size); in FuzzClientApiOption()
65 opt.SetSelectEvents(stringArgs); in FuzzClientApiOption()
66 opt.SetSelectGroups(stringArgs); in FuzzClientApiOption()
67 opt.SetSelectPids(pids); in FuzzClientApiOption()
68 opt.SetSelectTids(pids); in FuzzClientApiOption()
69 opt.SetCpuPercent(size); in FuzzClientApiOption()
[all …]
/developtools/hdc/scripts/
Ddev_hdc_test.py163 if opt := input(f"Default hdc execution? [{cls.hdc_exe}]\n").strip():
164 cls.hdc_exe = opt
165 if opt := input(f"Default local storage path? [{cls.local_path}]\n").strip():
166 cls.local_path = opt
167 if opt := input(f"Default remote storage path? [{cls.remote_path}]\n").strip():
168 cls.remote_path = opt
169 if opt := input(f"Default remote ip? [{cls.remote_ip}]\n").strip():
170 cls.remote_ip = opt
171 if opt := input(f"Default remote port? [{cls.remote_port}]\n").strip():
172 cls.remote_port = int(opt)
[all …]
/developtools/profiler/hiebpf/scripts/
Dhiebpf_code_generator.py56 for opt, val in opts:
57 if opt == opt_names[0]:
59 if opt == opt_names[1]:
61 if opt == opt_names[2]:
63 if opt == opt_names[3] and val == "true":
/developtools/hdc/hdc_rust/src/host/
Dparser.rs139 let opt = opts[i].as_str(); in extract_global_params() localVariable
140 let arg = if opt.len() > 2 { in extract_global_params()
141 &opt[2..] in extract_global_params()
147 if opt.starts_with("-h") { in extract_global_params()
153 } else if opt.starts_with("-v") { in extract_global_params()
155 } else if opt.starts_with("-l") { in extract_global_params()
171 } else if opt.starts_with("-m") { in extract_global_params()
173 } else if opt.starts_with("-p") { in extract_global_params()
175 } else if opt.starts_with("-t") { in extract_global_params()
177 } else if opt.starts_with("-s") { in extract_global_params()
[all …]
Dtask.rs131 let opt = admin_session(ActionType::Query(session_id)).await; in channel_file_task() localVariable
132 if opt.is_none() { in channel_file_task()
141 let opt = admin_session(ActionType::Query(session_id)).await; in channel_file_task() localVariable
143 let arc = opt.unwrap(); in channel_file_task()
396 let opt = admin_session(ActionType::Query(session_id)).await; in session_file_task() localVariable
397 if opt.is_none() { in session_file_task()
406 let opt = admin_session(ActionType::Query(session_id)).await; in session_file_task() localVariable
408 let arc = opt.unwrap(); in session_file_task()
/developtools/hiperf/demo/cpp/
Dhiperf_demo.cpp65 HiperfClient::RecordOption opt; in main() local
67 opt.SetAppPackage("com.ohos.launcher"); in main()
68 opt.SetTimeStopSec(timeout); in main()
69 if (myHiperf.Start(opt)) { in main()
/developtools/syscap_codec/src/
Dmain.c43 static void OutputVersion(const char *arg, int opt);
202 void OutputVersion(const char *arg, int opt) in OutputVersion() argument
204 if (arg != NULL && opt > 1) { in OutputVersion()
/developtools/hdc/hdc_rust/src/daemon/
Ddaemon_app.rs151 let mut opt = String::from(""); in app_uninstall() localVariable
154 opt.push(' '); in app_uninstall()
156 opt.push_str(item.as_str()); in app_uninstall()
161 do_app_uninstall(session_id, channel_id, opt, package).await; in app_uninstall()
/developtools/profiler/tools/smaps_show/
DCargo.toml27 opt-level = 'z'
/developtools/profiler/build/
Dprotoc.sh25 OPT_PLUGIN=--plugin=protoc-gen-opt=$PROJECT_TOP/$2/developtools/hiprofiler/protoencoder_plugin
/developtools/integration_verification/tools/fotff/
Dmain.go110 opt := &rec.FlashAndTestOptions{
117 return rec.FlashAndTest(context.TODO(), opt)
/developtools/smartperf_host/trace_streamer/sdk/demo_sdk/test/
DBUILD.gn76 lib_dirs = [ "/usr/local/opt/llvm/lib" ]
/developtools/profiler/device/plugins/hiebpf_plugin/tools/src/
Debpf_converter.cpp482 int32_t opt; in main() local
484 while ((opt = getopt_long(argc, argv, "i:o:h", long_options, nullptr)) != -1) { in main()
485 switch (opt) { in main()
/developtools/hiperf/interfaces/innerkits/native/src/
Dhiperf_client.cpp194 RecordOption opt; in SetCallStackSamplingConfigs() local
195 SetSelectEvents(opt.GetSelectEvents()); in SetCallStackSamplingConfigs()
/developtools/smartperf_host/trace_streamer/test/
DBUILD.gn183 lib_dirs = [ "/usr/local/opt/llvm/lib" ]
/developtools/profiler/hiebpf/include/
Dvmlinux.h5384 u8 opt; member
28137 struct tracer_opt *opt; member
54787 struct ip_options opt; member
54809 struct ip_options *opt; member
54870 struct ipv6_txoptions *opt; member
54934 struct ipv6_txoptions *opt; member
55055 struct ipv6_txoptions *opt; member
55070 struct ip_options opt; member
70588 const struct palmas_pin_info *opt[4]; member
115648 u32 opt; member
[all …]