Home
last modified time | relevance | path

Searched refs:option (Results 1 – 25 of 277) sorted by relevance

12345678910>>...12

/developtools/hiperf/demo/cpp/
Dhiperf_example_cmd.cpp142 USED_FUNCTION void LoopFunction(milliseconds timeOutMS, const Option &option) in LoopFunction() argument
148 if (option.sleepms > 0) { in LoopFunction()
151 std::this_thread::sleep_for(std::chrono::milliseconds(option.sleepms)); in LoopFunction()
154 if (option.mmap) { in LoopFunction()
157 if (option.iowait) { in LoopFunction()
160 if (option.branch) { in LoopFunction()
174 if (!option.nonew) { in LoopFunction()
181 if (!option.nofunc) { in LoopFunction()
188 inline void Loop(milliseconds timeOutMS, const Option &option) in Loop() argument
191 LoopFunction(timeOutMS, option); in Loop()
[all …]
/developtools/smartperf_host/ide/src/trace/component/
DSpFlags.ts156 configOption.value = optionItem.option;
157 configOption.textContent = optionItem.option;
232 switchOptions: [{ option: 'Enabled' }, { option: 'Disabled', selected: true }],
237 switchOptions: [{ option: 'Enabled' }, { option: 'Disabled', selected: true }],
243 switchOptions: [{ option: 'Enabled' }, { option: 'Disabled', selected: true }],
248 switchOptions: [{ option: 'Enabled' }, { option: 'Disabled', selected: true }],
253 switchOptions: [{ option: 'Enabled' }, { option: 'Disabled', selected: true }],
258 switchOptions: [{ option: 'Enabled' }, { option: 'Disabled', selected: true }],
268 let selectedOption = config.switchOptions.filter((option) => {
269 return option.selected;
[all …]
DSpRecordTrace.ts174 let option = document.createElement('option');
175 option.className = 'select';
177 option.value = dev.serialNumber;
179 option.textContent = dev!.serialNumber ? dev!.serialNumber!.toString() : 'hdc Device';
180 this.deviceSelect!.appendChild(option);
182 option.selected = true;
186 SpRecordTrace.serialNumber = option.value;
187 this.refreshDeviceVersion(option);
194 private refreshDeviceVersion(option: HTMLOptionElement): void {
195 HdcDeviceManager.connect(option.value).then((result) => {
[all …]
/developtools/packing_tool/adapter/ohos/
DREADME42 java -jar app_packing_tool.jar --mode <option> --json-path <option> --maple-so-path [option]
43 --profile-path [option] --maple-so-dir [option] --dex-path [option] --lib-path [option] --assets-pa…
44 --resources-path [option] --shell-apk-path [option] --index-path [option] --out-path <option> --for…
71 java -jar app_packing_tool.jar --mode <options> --json-path <option>
72 --jar-path <option> --lib-path [option] --assets-path [option]
73 --resources-path [option] --out-path <option> --force [option]
90 java -jar app_packing_tool.jar --mode <option> --hap-path <option> --out-path <option>
91 --pack-info-path <option> --signature-path [option] --certificate-path [option] --force [option]
171 java -jar app_unpacking_tool.jar --mode <options> --hap-path <option>
172 --out-path [option] --force [option] --unpackapk [option]
[all …]
/developtools/smartperf_host/ide/src/hdc/message/
DUSBHead.ts24 constructor(flag: number[], option: number, sessionId: number, dataSize: number) {
27 this._option = option;
68 let option = data.getUint8(2);
71 return new USBHead([flagZero, flagOne], option, sessionId, dataSize);
82 get option(): number { method in USBHead
86 set option(value: number) { method in USBHead
/developtools/packing_tool/
DREADME_zh.md21 …r --mode hap --json-path <option> --resources-path <option> --ets-path <option> --index-path <opti…
28option> --maple-so-path [option] --profile-path [option] --maple-so-dir [option] --dex-path [optio…
59 …mode har --json-path [option] --jar-path [option] --lib-path [option] --resources-path [option] --…
79 …p-path <option> --hsp-path <option> --out-path [option] --signature-path [option] --certificate-pa…
127 …p_packing_tool.jar --mode hqf --json-path <option> --lib-path <option> --ets-path <option> --out-p…
146 java -jar app_packing_tool.jar --mode appqf --hqf-list <option> --out-path <option>
163 …r --mode hsp --json-path <option> --resources-path <option> --ets-path <option> --index-path <opti…
213 java -jar app_unpacking_tool.jar --mode <option> --hap-path <options> --out-path [option] --force [
231 …ar app_unpacking_tool.jar --mode <options> --har-path <option> --out-path [option] --force [option]
248 …ar app_unpacking_tool.jar --mode <options> --app-path <option> --out-path [option] --force [option]
[all …]
/developtools/hiperf/interfaces/kits/js/napi/
Dhiperf_client_napi.cpp142 const std::string option = GetJsStringFromOption(env, info); in SetOutputFilename() local
143 g_hiperfRecordOption->SetOutputFilename(option); in SetOutputFilename()
188 std::string option = GetJsStringFromOption(env, info); in SetSelectCpus() local
189 g_hiperfRecordOption->SetSelectCpus(StringSplitToInt(option)); in SetSelectCpus()
200 uint32_t option = GetUintFromOption(env, info); in SetTimeStopSec() local
201 g_hiperfRecordOption->SetTimeStopSec(option); in SetTimeStopSec()
212 uint32_t option = GetUintFromOption(env, info); in SetFrequency() local
213 g_hiperfRecordOption->SetFrequency(option); in SetFrequency()
224 uint32_t option = GetUintFromOption(env, info); in SetPeriod() local
225 g_hiperfRecordOption->SetPeriod(option); in SetPeriod()
[all …]
/developtools/profiler/device/plugins/native_daemon/native_memory_profiler_sa/src/
Dnative_memory_profiler_sa_proxy.cpp35 MessageOption option; in Start() local
39 data, reply, option); in Start()
61 MessageOption option; in DumpData() local
65 data, reply, option); in DumpData()
82 MessageOption option; in Stop() local
86 data, reply, option); in Stop()
103 MessageOption option; in Stop() local
107 data, reply, option); in Stop()
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/vmtracker/
DTabPaneDmaVmTrackerComparison.ts76 let option = new LitSelectOption();
77 option.innerHTML = 'File Name';
78 option.setAttribute('disabled', 'disabled');
79 this.selectEl?.appendChild(option);
81 option.setAttribute('value', dmaVmTrackerComList[0].name);
83 option.setAttribute('value', dmaVmTrackerComList[0].name);
87 this.selectEl!.querySelectorAll('lit-select-option').forEach((option) => {
88 option.addEventListener('onSelected', async (e) => {
DTabPaneGpuMemoryVmTrackerComparison.ts88 let option = new LitSelectOption();
89 option.innerHTML = 'File Name';
90 option.setAttribute('disabled', 'disabled');
91 this.selectEl?.appendChild(option);
93 option.setAttribute('value', dataList[0].name);
95 option.setAttribute('value', dataList[0].name);
99 this.selectEl!.querySelectorAll('lit-select-option').forEach((option) => {
100 option.addEventListener('onSelected', async (e) => {
DTabPanePurgTotalComparisonVM.ts60 let option = new LitSelectOption();
61 option.innerHTML = 'File Name';
62 option.setAttribute('disabled', 'disabled');
63 this.selectEl?.appendChild(option);
65 option.setAttribute('value', purgeTotalComList[0].name);
DTabPanePurgPinComparisonVM.ts57 let option = new LitSelectOption();
58 option.innerHTML = 'File Name';
59 option.setAttribute('disabled', 'disabled');
60 this.selectEl?.appendChild(option);
62 option.setAttribute('value', purgePinComVmList[0].name);
DTabPaneVmTrackerShmComparison.ts104 let option = new LitSelectOption(); variable
105 option.innerHTML = 'File Name';
106 option.setAttribute('disabled', 'disabled');
107 this.selectEl?.appendChild(option);
109 option.setAttribute('value', fileArr[0].name);
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/ability/
DTabPaneGpuMemoryComparison.ts87 let option = new LitSelectOption();
88 option.innerHTML = 'File Name';
89 option.setAttribute('disabled', 'disabled');
90 this.selectEl?.appendChild(option);
92 option.setAttribute('value', gpuMemoryComList[0].name);
94 option.setAttribute('value', gpuMemoryComList[0].name);
98 this.selectEl!.querySelectorAll('lit-select-option').forEach((option) => {
99 option.addEventListener('onSelected', async (e) => {
DTabPaneDmaAbilityComparison.ts85 let option = new LitSelectOption();
86 option.innerHTML = 'File Name';
87 option.setAttribute('disabled', 'disabled');
88 this.selectEl?.appendChild(option);
90 option.setAttribute('value', dmaAbilityComList[0].name);
95 this.selectEl!.querySelectorAll('lit-select-option').forEach((option) => {
96 option.addEventListener('onSelected', (e) => {
DTabPanePurgPinComparisonAbility.ts61 let option = new LitSelectOption();
62 option.innerHTML = 'File Name';
63 option.setAttribute('disabled', 'disabled');
64 this.selectEl?.appendChild(option);
66 option.setAttribute('value', purgePinComFileArr[0].name);
DTabPanePurgTotalComparisonAbility.ts61 let option = new LitSelectOption();
62 option.innerHTML = 'File Name';
63 option.setAttribute('disabled', 'disabled');
64 this.selectEl?.appendChild(option);
65 if (purgeTotalComFileArr[0].name) option.setAttribute('value', purgeTotalComFileArr[0].name);
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/gpu/
DTabPaneGpuClickSelectComparison.ts105 let option = new LitSelectOption();
106 option.innerHTML = 'File Name';
107 option.setAttribute('disabled', 'disabled');
108 this.selectEl?.appendChild(option);
110 option.setAttribute('value', gpuSelectComList[0].name);
112 option.setAttribute('value', gpuSelectComList[0].name);
116 this.selectEl!.querySelectorAll('lit-select-option').forEach((option) => {
117 option.addEventListener('onSelected', async (e) => {
/developtools/smartperf_host/ide/src/trace/database/
DIndexedDBHelp.ts33 storeOptions?.forEach((option) => {
34 let optionName = option.name;
36 if (option.objectStoreParameters) {
37 … let objectStore = database.createObjectStore(optionName, option.objectStoreParameters);
38 option.dataItems?.forEach((dataItem) => {
47 option.dataItems?.forEach((dataItem) => {
/developtools/smartperf_host/ide/src/base-ui/select/
DLitAllocationSelect.ts145 let option = document.createElement('div');
146 option.className = 'option';
147 option.innerHTML = item;
148 option.style.padding = '8px 10px';
149 this.selectAllocationOptions.appendChild(option);
/developtools/smartperf_host/ide/test/hdc/message/
DUSBHead.test.ts34 expect(usbHead.option).toBeUndefined();
38 usbHead.option = true;
39 expect(usbHead.option).toBeTruthy();
/developtools/hdc/hdc_rust/src/transfer/
Duart_wrapper.rs128 option: u8, field
138 …self.session_id, self.response, self.option, self.package_index, self.status, self.retry_count, se… in fmt()
428 option: u8, in output_package()
435 option, in output_package()
446 fn is_response(option: u8) -> bool { in is_response()
447 let ret = (option & UartOption::Ack as u8) | (option & UartOption::Nak as u8); in is_response()
453 let option = head.option; in on_read_head() localVariable
455 if option & (UartOption::Free as u16) != 0 { in on_read_head()
459 if is_response(option as u8) { in on_read_head()
462 pkg.status = if option & (UartOption::Ack as u16) > 1 { in on_read_head()
[all …]
/developtools/smartperf_host/ide/src/trace/component/schedulingAnalysis/
DTop20FrequencyThread.ts133 let option = new LitSelectOption();
134 option.setAttribute('value', it.tid + '');
135 option.textContent = it.name;
136 return option;
241 queryLogicWorker(option: string, log: string, handler: (res: any) => void) {
243 procedurePool.submitWithName('logic0', option, { tid: this.currentTid }, undefined, handler);
/developtools/hdc/src/common/
Dusb.cpp65 vector<uint8_t> HdcUSBBase::BuildPacketHeader(uint32_t sessionId, uint8_t option, uint32_t dataSize) in BuildPacketHeader() argument
73 head.option = option; in BuildPacketHeader()
128 if (usbPayloadHeader->option & USB_OPTION_HEADER) { in IsUsbPacketHeader()
171 if (header->option & USB_OPTION_HEADER) { in CheckPacketOption()
/developtools/hiperf/interfaces/innerkits/native/src/
Dhiperf_client.cpp451 bool Client::Start(const RecordOption &option) in Start() argument
454 if (!option.GetOutputFileName().empty()) { in Start()
455 outputFileName_ = option.GetOutputFileName(); in Start()
457 if (option.IsTimeSpecified()) { in Start()
458 return RunHiperfCmdSync(option); in Start()
460 return Start(option.GetOptionVecString()); in Start()
491 int option; in ParentWait() local
493 option = WUNTRACED | WCONTINUED; in ParentWait()
495 option = WUNTRACED; in ParentWait()
497 wpid = waitpid(hperfPid_, &childStatus, option); in ParentWait()
[all …]

12345678910>>...12