Home
last modified time | relevance | path

Searched refs:values (Results 1 – 25 of 143) sorted by relevance

123456

/developtools/smartperf_host/trace_streamer/test/unittest/query/
Dsqllite_prepar_cache_data_test.cpp158 EXPECT_TRUE(batchSphCpuDataResult.values(0).has_cpu_data());
159 EXPECT_EQ(batchSphCpuDataResult.values(0).cpu_data().process_id(), PROCESS_ID);
160 EXPECT_EQ(batchSphCpuDataResult.values(0).cpu_data().cpu(), CPU);
161 EXPECT_EQ(batchSphCpuDataResult.values(0).cpu_data().tid(), TID);
162 EXPECT_EQ(batchSphCpuDataResult.values(0).cpu_data().id(), ID);
163 EXPECT_EQ(batchSphCpuDataResult.values(0).cpu_data().dur(), DUR);
164 EXPECT_EQ(batchSphCpuDataResult.values(0).cpu_data().start_time(), START_TIME);
187 EXPECT_TRUE(batchSphCpuStateDataResult.values(0).has_cpu_state_data());
188 EXPECT_EQ(batchSphCpuStateDataResult.values(0).cpu_state_data().value(), VALUE);
189 EXPECT_EQ(batchSphCpuStateDataResult.values(0).cpu_state_data().dur(), DUR);
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/energy/
DTabPaneEnergyAnomaly.ts40 let values = Object.values(bean[index]);
42 if (filterAppMap.get(values[0] + values[1]) === -1) {
46 findAppNameIndex = filterAppMap.get(values[0] + values[1]);
48 if (!tempSet.has(values[0])) {
49 tempSet.add(values[0]);
53 `<tr><td colspan="5" style='font-weight: 700;font-size: 14px'>${values[1]}</td></tr>`;
56 if (tempSet.has(Object.values(bean[index])[0])) {
57 let appValues = values[TabPaneEnergyAnomaly.VALUE_INDEX].split(',');
59 values[TabPaneEnergyAnomaly.KEY_INDEX]
64 : values[TabPaneEnergyAnomaly.VALUE_INDEX]
[all …]
DTabPaneSystemDetails.ts197 let values = this.getConvertData(data);
200 for (let index = 0; index < values.length; index++) {
201 let filterData: unknown = values[index];
311 let values = this.getConvertData(data);
315 for (let index = 0; index < values.length; index++) {
316 let filterData: unknown = values[index];
351 let values = this.getConvertData(data);
355 for (let index = 0; index < values.length; index++) {
356 let filterData: unknown = values[index];
408 return Object.values(convertItem);
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/utils/
DMatrix.ets59 public setValues(values: number[]) {
60 this.data = values;
112 var values = matrix.getValues();
113 this.postScale(values[Matrix.MSCALE_X], values[Matrix.MSCALE_Y]);
114 this.postTranslate(values[Matrix.MTRANS_X], values[Matrix.MTRANS_Y]);
137 var values: number[] = matrix.getValues();
138 values[Matrix.MSCALE_X] = 1 / (this.data[Matrix.MSCALE_X] / 1);
139 values[Matrix.MSCALE_Y] = 1 / (this.data[Matrix.MSCALE_Y] / 1);
140 values[Matrix.MTRANS_X] = -this.data[Matrix.MTRANS_X] * values[Matrix.MSCALE_X];
141 values[Matrix.MTRANS_Y] = -this.data[Matrix.MTRANS_Y] * values[Matrix.MSCALE_Y];
[all …]
DTransformer.ets29 * transforming values into pixels on the screen and backwards.
35 * matrix to map the values to the screen pixels
50 * Prepares the matrix that transforms values to pixels. Calculates the
98 * y values transformed with all matrices for the SCATTERCHART.
138 * y values transformed with all matrices for the BUBBLECHART.
172 * y values transformed with all matrices for the LINECHART.
212 * y values transformed with all matrices for the CANDLESTICKCHART.
248 var values: number[] = matrix.getValues();
251 lastNum = beforeNum * values[Matrix.MSCALE_X] + values[Matrix.MTRANS_X];
254 lastNum = beforeNum * values[Matrix.MSCALE_Y] + values[Matrix.MTRANS_Y];
[all …]
/developtools/hiperf/src/
Doption.cpp115 …FromString(const std::string &optionValue, const std::string &optionName, std::vector<int> &values) in GetValueFromString() argument
121 values.push_back(std::stoi(stringValues.front())); in GetValueFromString()
124 return values.size() > 0; // convert successed ? in GetValueFromString()
132 …ng(const std::string &optionValue, const std::string &optionName, std::vector<std::string> &values) in GetValueFromString() argument
134 values = StringSplit(optionValue, ","); in GetValueFromString()
136 VectorToString(values).c_str(), optionValue.c_str()); in GetValueFromString()
137 return values.size() > 0; // convert successed ? in GetValueFromString()
/developtools/smartperf_host/ide/src/trace/component/setting/
DSpProbesConfig.ts50 let values = [];
52 values.push(litCheckBoxElement.value);
55 values.push(this.hitrace.value);
57 info('traceConfig is :', values);
58 return values;
69 let values = [];
74 values.push(litCheckBoxElement.value);
76 log(`memoryConfig size is :${values.length}`);
77 return values;
88 let values = [];
[all …]
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/interfaces/datasets/
DIDataSet.ets57 * Returns the number of y-values this DataSet represents -> the size of the y-values array
65 * Calculates the minimum and maximum x and y values (mXMin, mXMax, mYMin, mYMax).
70 * Calculates the min and max y-values from the Entry closest
88 * @param closestToY If there are multiple y-values for the specified x-value,
107 * @param closestToY If there are multiple y-values for the specified x-value,
124 * Returns the Entry object found at the given index (NOT xIndex) in the values array.
140 * @param closestToY If there are multiple y-values for the specified x-value,
171 * values of the DataSet and the value-sum.
179 … * Entries are added to their appropriate index in the values array respective to their x-position.
181 * values of the DataSet and the value-sum.
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/sdk/
DTabPaneSdkSlice.ts66 let values = sdkSliceVal.sdkSliceIds[index].split('-');
67 let value = values[0];
68 componentId = Number(values[1]);
108 let values = Object.values(dataResult);
115 let sliceValue = values[sliceKeyIndex]; //@ts-ignore
317 let values = Object.values(dataResult);
324 let sliceValue = values[sliceKeyIndex];
DTabPaneSdkCounter.ts69 let values = Object.values(dataResult);
76 let counterValue = values[counterKeyIndex];
126 let values = sdkVal.sdkCounterIds[index].split('-');
127 let value = values[0];
128 componentId = Number(values[1]);
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/animation/
DChartAnimator.ets21 /** The phase of drawn values on the y-axis. 0 - 1 */
24 /** The phase of drawn values on the x-axis. 0 - 1 */
46 * Animates values along the X axis, in a linear fashion.
55 * Animates values along the X axis.
68 * Animates values along both the X and Y axes, in a linear fashion.
79 * Animates values along both the X and Y axes.
101 * Animates values along both the X and Y axes.
124 * Animates values along the Y axis, in a linear fashion.
134 * Animates values along the Y axis.
/developtools/global_resource_tool/src/
Djson_compiler.cpp221 … [this](const cJSON *arrayItem, const ResourceItem &resourceItem, vector<string> &values) -> bool { in HandleStringArray() argument
231 values.push_back(valueNode->valuestring); in HandleStringArray()
240 … [this](const cJSON *arrayItem, const ResourceItem &resourceItem, vector<string> &values) -> bool { in HandleIntegerArray() argument
245 values.push_back(arrayItem->valuestring); in HandleIntegerArray()
247 values.push_back(to_string(arrayItem->valueint)); in HandleIntegerArray()
260 [this](const cJSON *arrayItem, const ResourceItem &resourceItem, vector<string> &values) { in HandleTheme() argument
261 return ParseAttribute(arrayItem, resourceItem, values); in HandleTheme()
275 … [&attrs, this](const cJSON *arrayItem, const ResourceItem &resourceItem, vector<string> &values) { in HandlePlural() argument
290 values.push_back(quantityValue); in HandlePlural()
295 values.push_back(valueNode->valuestring); in HandlePlural()
[all …]
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/renderer/
DDataRenderer.ets47 * paint used for highlighting values
54 * paint object for drawing values (text representing values of chart
86 * Returns the Paint object this renderer uses for drawing the values
144 * Loops over all Entrys and draws their values.
188 * Draws all highlight indicators for the values that are currently highlighted.
191 * @param indices the highlighted values
DAxisRenderer.ets32 /** transformer to transform values to screen pixels and return */
41 * paint for the x-label values
109 * Returns the Transformer object used for transforming the axis values.
118 * Computes the axis values.
156 * Sets up the axis values. Computes the desired number of labels between the two given extremes.
174 // Find out how much spacing (in y value space) between axis values
179 // This is used to avoid repeated values when rounding values for display.
/developtools/integration_verification/cases/smoke/basic/screenshot32/xdevice_smoke/acls_check/
Dread_acl_whitelist.py44 values = it.get('acls')
45 acls_dict[key] = values
/developtools/integration_verification/cases/smoke/basic/screenshot32/acls_check/
Dread_acl_whitelist.py44 values = it.get('acls')
45 acls_dict[key] = values
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/data/
DDataSet.ets23 * groups of values inside the Chart (e.g. the values for a specific line in the
24 * LineChart, or the values of a specific group of bars in the BarChart).
54 * Creates a new DataSet object with the given values (entries) it represents. Also, a
161 // * @param values
164 public setValues(values: JArrayList<T>): void {
165 this.setEntries(values);
254 var values: JArrayList<T> = this.getEntries();
255 if (!values) {
256 values = new JArrayList<T>();
262 values.add(e);
[all …]
/developtools/profiler/device/plugins/network_profiler/client/src/
Dnetwork_profiler.cpp79 std::vector<std::string> values; in CheckNetworkProfilerParam() local
80 SplitParamValue(paramValue, ",", values); in CheckNetworkProfilerParam()
81 for (auto& item : values) { in CheckNetworkProfilerParam()
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/common/
Dutils.test.ts633 this.mockfileList = allFiles.values();
650 this.mockfileList = allFiles.values();
667 this.mockfileList = allFiles.values();
684 this.mockfileList = allFiles.values();
721 this.mockfileList = allFiles.values();
734 this.mockfileList = allFiles.values();
747 this.mockfileList = allFiles.values();
760 this.mockfileList = allFiles.values();
787 this.mockfileList = allFiles.values();
800 this.mockfileList = allFiles.values();
[all …]
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/
DTemperature.ets439 let values = new JArrayList<EntryOhos>();
445values.add(new EntryOhos(Number(index).valueOf(), Number(gpDataCur.systemHTemp).valueOf() / 1000));
456 let set1 = new LineDataSet(values, 'SystemHTemp(℃)');
475 let values = new JArrayList<EntryOhos>();
481values.add(new EntryOhos(Number(index).valueOf(), Number(gpDataCur.batteryTemp).valueOf() / 1000));
492 let set1 = new LineDataSet(values, 'BatteryTemp(℃)');
511 let values = new JArrayList<EntryOhos>();
517values.add(new EntryOhos(Number(index).valueOf(), Number(gpDataCur.shellFrontTemp).valueOf() / 100…
528 let set1 = new LineDataSet(values, 'ShellFrontTemp(℃)');
547 let values = new JArrayList<EntryOhos>();
[all …]
/developtools/profiler/host/smartperf/client/client_command/include/
Dsp_csv_util.h42 for (auto iter = spdata.values.cbegin(); iter != spdata.values.cend(); ++iter) { in WriteCsv()
Dsp_data.h23 std::map<std::string, std::string> values;
/developtools/smartperf_host/trace_streamer/src/trace_data/
Dtrace_data_db.cpp288 std::vector<std::string> values = {}; in SearchData() local
299 values.clear(); in SearchData()
301 ParseCommandLine(option, line, values); in SearchData()
307 return values; in SearchData()
316 if (!values.empty()) { in SearchData()
317 return values; in SearchData()
333 return values; in SearchData()
335 …ceDataDB::ParseCommandLine(std::string &option, std::string line, std::vector<std::string> &values) in ParseCommandLine() argument
342 values.push_back(left.substr(0, pos + 1)); in ParseCommandLine()
345 values.push_back(left); in ParseCommandLine()
/developtools/profiler/device/plugins/ffrt_profiler/client/src/
Dffrt_profiler.cpp79 std::vector<std::string> values; in CheckFfrtProfilerParam() local
80 SplitString(paramValue, ",", values); in CheckFfrtProfilerParam()
81 for (auto& item : values) { in CheckFfrtProfilerParam()
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/entity/
DDatabaseEntity.ets22 public values: Map<String, String>;
24 constructor(moduleType: String, timeStamp: number, values: Map<String, String>) {
27 this.values = values;
32 var iterator = this.values.keys();
33 for (var i = 0; i < this.values.size; i++) {
35 obj[key] = this.values.get(key);
44 ', values=' +

123456