Home
last modified time | relevance | path

Searched refs:values (Results 1 – 25 of 129) 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) {
45 findAppNameIndex = filterAppMap.get(values[0] + values[1]);
47 if (!tempSet.has(values[0])) {
48 tempSet.add(values[0]);
52 values[1] + '</td></tr>';
55 if (tempSet.has(Object.values(bean[index])[0])) {
56 let appValues = values[TabPaneEnergyAnomaly.VALUE_INDEX].split(',');
59 values[TabPaneEnergyAnomaly.KEY_INDEX] +
62values[TabPaneEnergyAnomaly.VALUE_INDEX] : values[TabPaneEnergyAnomaly.VALUE_INDEX]) +
[all …]
DTabPaneSystemDetails.ts190 let values = this.getConvertData(data);
193 for (let index = 0; index < values.length; index++) {
194 let filterData: any = values[index];
279 let values = this.getConvertData(data);
283 for (let index = 0; index < values.length; index++) {
284 let filterData: any = values[index];
312 let values = this.getConvertData(data);
316 for (let index = 0; index < values.length; index++) {
317 let filterData: any = values[index];
356 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]);
115 // this.data[Matrix.MTRANS_X] = values[Matrix.MTRANS_X] * this.data[Matrix.MSCALE_X]
116 // this.data[Matrix.MSCALE_X] *= values[Matrix.MSCALE_X]
117 // this.data[Matrix.MSCALE_Y] *= values[Matrix.MSCALE_Y]
138 var values: number[] = matrix.getValues();
139 values[Matrix.MSCALE_X] = 1 / (this.data[Matrix.MSCALE_X] / 1)
[all …]
DTransformer.ets29 * transforming values into pixels on the screen and backwards.
36 * matrix to map the values to the screen pixels
51 * Prepares the matrix that transforms values to pixels. Calculates the
100 * y values transformed with all matrices for the SCATTERCHART.
137 * y values transformed with all matrices for the BUBBLECHART.
173 * y values transformed with all matrices for the LINECHART.
211 * y values transformed with all matrices for the CANDLESTICKCHART.
249 var values: number[] = matrix.getValues();
251 lastNum = beforeNum * values[Matrix.MSCALE_X] + values[Matrix.MTRANS_X]
253 lastNum = beforeNum * values[Matrix.MSCALE_Y] + values[Matrix.MTRANS_Y]
[all …]
/developtools/hiperf/src/
Doption.cpp118 std::vector<int> &values) in GetValueFromString() argument
124 values.push_back(std::stoi(stringValues.front())); in GetValueFromString()
127 return values.size() > 0; // convert successed ? in GetValueFromString()
136 std::vector<std::string> &values) in GetValueFromString() argument
138 values = StringSplit(optionValue, ","); in GetValueFromString()
140 VectorToString(values).c_str(), optionValue.c_str()); in GetValueFromString()
141 return values.size() > 0; // convert successed ? in GetValueFromString()
/developtools/smartperf_host/ide/src/trace/component/setting/
DSpProbesConfig.ts51 let values = [];
53 values.push(litCheckBoxElement.value);
56 values.push(this.hitrace.value);
58 info('traceConfig is :', values);
59 return values;
70 let values = [];
75 values.push(litCheckBoxElement.value);
77 log(`memoryConfig size is :${values.length}`);
78 return values;
89 let values = [];
[all …]
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/interfaces/datasets/
DIDataSet.ets58 * Returns the number of y-values this DataSet represents -> the size of the y-values array
66 * Calculates the minimum and maximum x and y values (mXMin, mXMax, mYMin, mYMax).
71 …* Calculates the min and max y-values from the Entry closest to the given fromX to the Entry close…
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,
172 * values of the DataSet and the value-sum.
181 … * Entries are added to their appropriate index in the values array respective to their x-position.
183 * values of the DataSet and the value-sum.
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/sdk/
DTabPaneSdkSlice.ts65 let values = sdkSliceVal.sdkSliceIds[index].split('-');
66 let value = values[0];
67 componentId = Number(values[1]);
106 let values = Object.values(dataResult);
113 let sliceValue = values[sliceKeyIndex];
299 let values = Object.values(dataResult);
306 let sliceValue = values[sliceKeyIndex];
DTabPaneSdkCounter.ts65 let values = Object.values(dataResult);
72 let counterValue = values[counterKeyIndex];
110 let values = sdkVal.sdkCounterIds[index].split('-');
111 let value = values[0];
112 componentId = Number(values[1]);
/developtools/global_resource_tool/src/
Djson_compiler.cpp201 …](const Json::Value &arrayItem, const ResourceItem &resourceItem, vector<string> &values) -> bool { in HandleStringArray() argument
211 values.push_back(value.asString()); in HandleStringArray()
220 …](const Json::Value &arrayItem, const ResourceItem &resourceItem, vector<string> &values) -> bool { in HandleIntegerArray() argument
224 values.push_back(arrayItem.asString()); in HandleIntegerArray()
236 … [this](const Json::Value &arrayItem, const ResourceItem &resourceItem, vector<string> &values) { in HandleTheme() argument
237 return ParseAttribute(arrayItem, resourceItem, values); in HandleTheme()
251 …rs, this](const Json::Value &arrayItem, const ResourceItem &resourceItem, vector<string> &values) { in HandlePlural() argument
262 values.push_back(quantityValue); in HandlePlural()
263 values.push_back(arrayItem[TAG_VALUE].asString()); in HandlePlural()
387 vector<string> values; in ParseValueArray() local
[all …]
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/animation/
DChartAnimator.ets22 /** The phase of drawn values on the y-axis. 0 - 1 */
25 /** The phase of drawn values on the x-axis. 0 - 1 */
53 * Animates values along the X axis, in a linear fashion.
62 * Animates values along the X axis.
76 * Animates values along both the X and Y axes, in a linear fashion.
87 * Animates values along both the X and Y axes.
110 * Animates values along both the X and Y axes.
135 * Animates values along the Y axis, in a linear fashion.
145 * Animates values along the Y axis.
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/renderer/
DDataRenderer.ets48 * paint used for highlighting values
55 * paint object for drawing values (text representing values of chart
88 * Returns the Paint object this renderer uses for drawing the values
148 * Loops over all Entrys and draws their values.
184 * Draws all highlight indicators for the values that are currently highlighted.
187 * @param indices the highlighted values
DAxisRenderer.ets33 /** transformer to transform values to screen pixels and return */
42 * paint for the x-label values
111 * Returns the Transformer object used for transforming the axis values.
121 * Computes the axis values.
153 * Sets up the axis values. Computes the desired number of labels between the two given extremes.
172 // Find out how much spacing (in y value space) between axis values
177 // This is used to avoid repeated values when rounding values for display.
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/common/
Dutils.test.ts529 this.mockfileList = allFiles.values();
546 this.mockfileList = allFiles.values();
563 this.mockfileList = allFiles.values();
580 this.mockfileList = allFiles.values();
617 this.mockfileList = allFiles.values();
630 this.mockfileList = allFiles.values();
643 this.mockfileList = allFiles.values();
656 this.mockfileList = allFiles.values();
683 this.mockfileList = allFiles.values();
696 this.mockfileList = allFiles.values();
[all …]
/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).
56 * Creates a new DataSet object with the given values (entries) it represents. Also, a
157 // * @param values
160 public setValues(values : JArrayList<T>) : void {
161 this.setEntries(values);
249 var values : JArrayList<T> = this.getEntries();
250 if (!values) {
251 values = new JArrayList<T>();
257 values.add(e);
[all …]
/developtools/integration_verification/cases/smoke/basic/screenshot32/acls_check/
Dread_acl_whitelist.py44 values = it.get('acls')
45 acls_dict[key] = values
/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/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 …]
DLoad.ets582 let values = new JArrayList<EntryOhos>();
588 values.add(new EntryOhos(Number(index).valueOf(), Number(gpDataCur.cpu0Load).valueOf()));
594 let set1 = new LineDataSet(values, "cpu0Load(%)");
695 let values = new JArrayList<EntryOhos>();
701values.add(new EntryOhos(Number(index).valueOf(), Number(gpDataCur.cpu0Frequency).valueOf() / 1e3)…
712 let set1 = new LineDataSet(values, "cpu0Frequency(MHZ)");
733 let values = new JArrayList<EntryOhos>();
739 values.add(new EntryOhos(Number(index).valueOf(), Number(gpDataCur.cpu4Load).valueOf()));
745 let set1 = new LineDataSet(values, "cpu4Load(%)");
822 let values = new JArrayList<EntryOhos>();
[all …]
/developtools/profiler/host/smartperf/client/client_command/
Dsp_profiler_factory.cpp97 std::vector<std::string> values; in SetByTrace() local
100 SPUtils::StrSplit(message, delimiter, values); in SetByTrace()
106 for (std::string vItem:values) { in SetByTrace()
/developtools/smartperf_host/trace_streamer/src/trace_data/
Dtrace_data_db.cpp282 std::vector<std::string> values = {}; in SearchData() local
293 values.clear(); in SearchData()
295 ParseCommandLine(option, line, values); in SearchData()
301 return values; in SearchData()
310 if (!values.empty()) { in SearchData()
311 return values; in SearchData()
327 return values; in SearchData()
329 …ceDataDB::ParseCommandLine(std::string& option, std::string line, std::vector<std::string>& values) in ParseCommandLine() argument
336 values.push_back(left.substr(0, pos + 1)); in ParseCommandLine()
339 values.push_back(left); in ParseCommandLine()
/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/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);
40 ", values=" + JSON.stringify(obj) +

123456