Searched full:opt (Results 1 – 25 of 36) sorted by relevance
12
39 static void TestCaseOption(const HiperfClient::RecordOption &opt);146 HiperfClient::RecordOption opt; variable147 opt.SetTargetSystemWide(true);150 ASSERT_TRUE(myHiperf.PrePare(opt));172 void HiperfClientTest::TestCaseOption(const HiperfClient::RecordOption &opt) in TestCaseOption() argument180 ASSERT_TRUE(myHiperf.Start(opt)); in TestCaseOption()208 HiperfClient::RecordOption opt; variable209 opt.SetTargetSystemWide(true);211 TestCaseOption(opt);216 HiperfClient::RecordOption opt; variable[all …]
56 void TestEvents(std::string &opt, std::string &uk, bool isFork = true);350 std::string opt = "-d 10000.0 "; variable351 opt += " ls "; // because UT don't need wait so long352 ForkAndRunTest(opt, true, false);357 std::string opt = "-d 10000.1 "; variable358 opt += " ";359 TestRecordCommand(opt, false);457 std::string opt = "-d 2 -e sw-task-clock -c "; variable459 opt += std::to_string(i);460 opt += ",";[all …]
131 args = {"--dumpoption", "opt"};135 args = {"-dumpoption", "opt"};141 args = {"--help", "opt"};149 args = {"-help", "opt"};
21 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)
56 HiperfClient::RecordOption opt; in FuzzClientApiOption() local61 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 …]
Read VendorCountry: %s Unknow command! %s, connection fail %s, send cmd fail ...
62 struct OptArg *opt = static_cast<struct OptArg*>(arg); in NmdWriteStat() local65 if (strncpy_s(opt->buf + opt->pos, MEMCHECK_DETAILINFO_MAXSIZE - opt->pos, in NmdWriteStat()69 opt->pos += nmdTimeLen; in NmdWriteStat()72 if (len + opt->pos + 1 > MEMCHECK_DETAILINFO_MAXSIZE) { in NmdWriteStat()75 if (strncpy_s(opt->buf + opt->pos, MEMCHECK_DETAILINFO_MAXSIZE - opt->pos, buf, len) != EOK) { in NmdWriteStat()78 opt->pos += len; in NmdWriteStat()244 struct OptArg opt = {0, reinterpret_cast<char*>(nmdBuf) }; in SendNmdInfo() local245 malloc_stats_print(NmdWriteStat, &opt, "a"); in SendNmdInfo()250 … reinterpret_cast<int8_t*>(opt.buf), strlen(opt.buf) + 1, in SendNmdInfo()267 struct OptArg opt = {0, reinterpret_cast<char*>(nmdBuf) }; in SendSimplifiedNmdInfo() local[all …]
56 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":
179 let opt = opts[i].as_str(); in extract_global_params() localVariable180 let arg = if opt.len() > 2 { in extract_global_params()181 &opt[2..] in extract_global_params()187 if opt.starts_with("-h") { in extract_global_params()193 } else if opt.starts_with("-v") { in extract_global_params()195 } else if opt.starts_with("-l") { in extract_global_params()211 } else if opt.starts_with("-m") { in extract_global_params()213 } else if opt.starts_with("-p") { in extract_global_params()215 } else if opt.starts_with("-t") { in extract_global_params()223 } else if opt.starts_with("-s") { in extract_global_params()[all …]
726 let opt = admin_session(ActionType::Query(session_id)).await; in session_file_task() localVariable727 if opt.is_none() { in session_file_task()736 let opt = admin_session(ActionType::Query(session_id)).await; in session_file_task() localVariable738 let arc = opt.unwrap(); in session_file_task()
41 /// let opt = hsession::admin_session(ActionType::Query(111)).await;42 /// let lock = opt.unwrap();70 /// let opt = hsession::admin_session(ActionType::Query(222)).await;71 /// let lock = opt.unwrap();106 /// let opt = hsession::admin_session(ActionType::Query(3333)).await;107 /// let lock = opt.unwrap();116 /// let opt = hsession::admin_session(ActionType::Query(333)).await;117 /// assert!(opt.is_none());140 /// let opt = hsession::admin_session(ActionType::Query(444)).await;141 /// let lock = opt.unwrap();[all …]
71 HiperfClient::RecordOption opt; in main() local73 opt.SetAppPackage(TEST_PROCESSES); in main()74 opt.SetTimeStopSec(timeout); in main()75 if (myHiperf.Start(opt)) { in main()
173 if opt := input(f"Default hdc execution? [{cls.hdc_exe}]\n").strip():174 cls.hdc_exe = opt175 if opt := input(f"Default local storage path? [{cls.local_path}]\n").strip():176 cls.local_path = opt177 if opt := input(f"Default remote storage path? [{cls.remote_path}]\n").strip():178 cls.remote_path = opt179 if opt := input(f"Default remote ip? [{cls.remote_ip}]\n").strip():180 cls.remote_ip = opt181 if opt := input(f"Default remote port? [{cls.remote_port}]\n").strip():182 cls.remote_port = int(opt)[all …]
27 opt-level = 'z'
44 static void OutputVersion(const char *arg, int opt);212 void OutputVersion(const char *arg, int opt) in OutputVersion() argument214 if (arg != NULL && opt > 1) { in OutputVersion()
38 OPT_PLUGIN=--plugin=protoc-gen-opt=$PROJECT_TOP/$2/developtools/hiprofiler/protoencoder_plugin101 # avoid conflict, param4=--plugin* means ipc plugin, generate encode file if opt plugin exist
110 opt := &rec.FlashAndTestOptions{117 return rec.FlashAndTest(context.TODO(), opt)
76 lib_dirs = [ "/usr/local/opt/llvm/lib" ]
59 # avoid conflict, param4=--plugin* means ipc plugin, generate encode file if opt plugin exist
18 OPT: {type: STRING, desc: hitrace request type}
114 std::cout << " --compressed-config Path of opt-compression.json.\n"; in ShowUseage()
224 .body-opt{396 .body-opt{
192 this.selectVOptions = this.shadowRoot!.querySelector('.body-opt') as HTMLDivElement;268 <div class="body-opt">
246 let (opt, package): (Vec<String>, Vec<String>) = str in app_uninstall()250 do_app_uninstall(session_id, channel_id, opt.join(" "), package.join(" ")).await; in app_uninstall()