Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 191) sorted by relevance

12345678

/developtools/smartperf_host/ide/test/base-ui/chart/pie/
DLitChartPie.test.ts65 max: '3.47ms ',
76 max: '14.07ms ',
87 max: '25.12ms ',
98 max: '27.30ms ',
109 max: '20.34ms ',
120 max: '8.28ms ',
131 max: '2.80ms ',
142 max: '1.12ms ',
153 max: '65.67μs ',
164 max: '56.04μs ',
[all …]
/developtools/smartperf_host/trace_streamer/src/base/
Dts_common.h28 const uint64_t INVALID_ITID = std::numeric_limits<uint32_t>::max();
29 const uint64_t INVALID_IPID = std::numeric_limits<uint32_t>::max();
30 const uint64_t INVALID_UINT64 = std::numeric_limits<uint64_t>::max();
31 const uint64_t MAX_UINT32 = std::numeric_limits<uint32_t>::max();
32 const uint64_t MAX_UINT64 = std::numeric_limits<uint64_t>::max();
33 const uint32_t INVALID_UINT8 = std::numeric_limits<uint8_t>::max();
34 const uint32_t INVALID_UINT16 = std::numeric_limits<uint16_t>::max();
35 const uint32_t INVALID_UINT32 = std::numeric_limits<uint32_t>::max();
36 const uint32_t INVALID_INT32 = std::numeric_limits<int32_t>::max();
37 const int64_t INVALID_INT64 = std::numeric_limits<int64_t>::max();
[all …]
Dhtrace_plugin_time_parser.cpp23 maxTs_ = std::max(maxTs_, asyncTimestamp); in UpdatePluginTimeRange()
26 syncHtracePluginEndTime_ = std::max(syncHtracePluginEndTime_, syncTimestamp); in UpdatePluginTimeRange()
31 syncHtracePluginEndTime_ = std::max(syncHtracePluginEndTime_, syncTimestamp); in UpdatePluginTimeRange()
34 asyncHtracePluginEndTime_ = std::max(asyncHtracePluginEndTime_, syncTimestamp); in UpdatePluginTimeRange()
39 if (syncHtracePluginStartTime_ != std::numeric_limits<uint64_t>::max()) { in GetPluginStartTime()
41 } else if (asyncHtracePluginStartTime_ != std::numeric_limits<uint64_t>::max()) { in GetPluginStartTime()
44 return std::numeric_limits<uint64_t>::max(); in GetPluginStartTime()
Dhtrace_plugin_time_parser.h39 uint64_t syncHtracePluginStartTime_ = std::numeric_limits<uint64_t>::max();
41 uint64_t asyncHtracePluginStartTime_ = std::numeric_limits<uint64_t>::max();
43 uint64_t minTs_ = std::numeric_limits<uint64_t>::max();
/developtools/smartperf_host/ide/src/trace/component/trace/base/
DColorUtils.ts141 public static hash(str: string, max: number): number {
152 return Math.abs(hash) % max;
186 public static hashFunc(str: string, depth: number, max: number): number {
197 return (Math.abs(hash) + depth) % max;
248 const max = Math.max(r, g, b); constant
252 l = (max + min) / 2;
254 if (max === min) {
257 const d = max - min;
258 s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
259 switch (max) {
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/native-memory/
DTabPaneNMStatstics.test.ts57 max: 0,
72 max: 110,
114 max: 100000,
134 max: 50,
178 max: 100654,
198 max: 220,
242 max: 10114,
262 max: 2082,
306 max: 214,
326 max: 232,
[all …]
/developtools/profiler/proto_encoder/test/unittest/
Dbase_message_unittest.cpp130 msgOpt.set_vint_int32(std::numeric_limits<int32_t>::max());
131 printf("set_vint_int32(%" PRId32 "):\n", std::numeric_limits<int32_t>::max());
138 ASSERT_EQ(msgProtobuf.vint_int32(), std::numeric_limits<int32_t>::max());
159 printf("set_vint_int64(%" PRId64 "):\n", std::numeric_limits<int64_t>::max());
169 msgOpt.set_vint_int64(std::numeric_limits<int64_t>::max());
170 printf("set_vint_int64(%" PRId64 "):\n", std::numeric_limits<int64_t>::max());
177 ASSERT_EQ(msgProtobuf.vint_int64(), std::numeric_limits<int64_t>::max());
208 msgOpt.set_vint_uint32(std::numeric_limits<uint32_t>::max());
209 printf("set_vint_uint32(%" PRIu32 "):\n", std::numeric_limits<uint32_t>::max());
216 ASSERT_EQ(msgProtobuf.vint_uint32(), std::numeric_limits<uint32_t>::max());
[all …]
Dvarint_encode_unittest.cpp176 EXPECT_EQ(EncodeZigZag(signed8), std::numeric_limits<uint8_t>::max());
177 signed8 = std::numeric_limits<int8_t>::max();
178 EXPECT_EQ(EncodeZigZag(signed8), std::numeric_limits<uint8_t>::max() - 1);
197 EXPECT_EQ(EncodeZigZag(signed32), std::numeric_limits<uint32_t>::max());
198 signed32 = std::numeric_limits<int32_t>::max();
199 EXPECT_EQ(EncodeZigZag(signed32), std::numeric_limits<uint32_t>::max() - 1);
218 EXPECT_EQ(EncodeZigZag(signed64), std::numeric_limits<uint64_t>::max());
219 signed64 = std::numeric_limits<int64_t>::max();
220 EXPECT_EQ(EncodeZigZag(signed64), std::numeric_limits<uint64_t>::max() - 1);
254 b = std::numeric_limits<bool>::max();
[all …]
/developtools/smartperf_host/ide/src/trace/database/ui-worker/hiperf/
DProcedureWorkerHiPerfEvent.ts95 max: number | undefined; property in HiPerfEventStruct
108 let max = 0;
113 if (sum > max) max = sum;
123 HiPerfEventStruct.maxEvent!.set(type, max);
126 it.height = Math.floor((40 * it.sum) / max);
127 it.max = max;
/developtools/smartperf_host/ide/src/trace/database/data-trafic/cpu/
DCpuFreqLimitDataReceiver.ts88 let max = new Int32Array(transfer ? res.length : data.params.sharedArrayBuffers.max);
95 max[i] = it.max;
107 max: max.buffer,
114 transfer ? [startNs.buffer, dur.buffer, value.buffer, max.buffer, min.buffer] : []
DCpuFreqLimitDataSender.ts30 max: new SharedArrayBuffer(Uint32Array.BYTES_PER_ELEMENT * MAX_COUNT),
63 let max = new Uint32Array(res.max);
68 max: max[i],
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/freq/
DTabPaneCpuFreqLimits.ts80 limit.value = isMax ? item.max! : item.min!;
88 let max = Math.max(item.startNs || 0, start); variable
90 if (max < min) {
91 let maxId = `${item.cpu}-${item.max}-max`;
93 groupMapData(min - max, maxId, item);
94 groupMapData(min - max, minId, item);
/developtools/smartperf_host/trace_streamer/sdk/demo_sdk/trace_data/
Ddemo_trace_data_cache_writer.cpp45 if (timestampMin == std::numeric_limits<uint64_t>::max() || timestampMax == 0) { in MixTraceTime()
48 if (traceStartTime_ != std::numeric_limits<uint64_t>::max()) { in MixTraceTime()
49 traceStartTime_ = std::max(traceStartTime_, timestampMin); in MixTraceTime()
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/utils/
DColorTemplate.ets50 var max = arr[2]
52 v = max / 255;
53 if (max === 0) {
56 s = 1 - (min / max);
58 if (max === min) {
59 h = 0;//事实上,max===min的时候,h无论为多少都无所谓
60 } else if (max === r && g >= b) {
61 h = 60 * ((g - b) / (max - min)) + 0;
62 } else if (max === r && g < b) {
63 h = 60 * ((g - b) / (max - min)) + 360
[all …]
/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerEBPF.ts239 let max = 2;
254 max = max > heap.size ? max : heap.size;
257 arr.map((it) => (it.height = Math.floor((it.size / max) * 36)));
266 let max = 0;
276 max = max > ioItem.size ? max : ioItem.size;
280 let height = Math.floor((it.size / max) * 36);
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/components/
DYAxis.ets69 * flag indicating that auto scale max restriction should be used
363 width = Math.max(minWidth, Math.min(width, maxWidth > 0.0 ? maxWidth : width));
412 * Returns true if autoscale restriction for axis max value is enabled
420 * Sets autoscale restriction for axis max value as enabled/disabled
432 var max : number = dataMax;
434 // Make sure max is greater than min
436 if (min > max)
441 min = max;
442 max = t;
446 min = max < 0 ? max * 1.5 : max * 0.5;
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/vmtracker/
DTabPaneVmTrackerShm.ts68 filter.maxSizeStr = Utils.getBinaryByteWithUnit(filter.max);
125 return sort === 1 ? leftMax.max - rightMax.max : rightMax.max - leftMax.max;
/developtools/ace_ets2bundle/compiler/
D.eslintrc49 "max-len": [2, { "code": 160 }],
66 "no-multiple-empty-lines": [2, { "max": 1 }],
104 "max-depth": ["error", 4],
105 "max-lines-per-function": ["error", {"max": 50, "skipBlankLines": true, "skipComments": true}],
107 "max-lines": ["error", 2000]
/developtools/smartperf_host/ide/src/trace/component/trace/timer-shaft/
DRect.ts58 let maxX = Math.max(rectA.x + rectA.width, rectB.x + rectB.width);
59 let maxY = Math.max(rectA.y + rectA.height, rectB.y + rectB.height);
66 let maxX = Math.max(rectA.x, rectB.x);
67 let maxY = Math.max(rectA.y, rectB.y);
68 …let width = Math.abs(Math.min(rectA.x + rectA.width, rectB.x + rectB.width) - Math.max(rectA.x, re…
69 …let height = Math.abs(Math.min(rectA.y + rectA.height, rectB.y + rectB.height) - Math.max(rectA.y,…
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/native-memory/
DTabPaneNMStatstics.ts118 data.max = malloc.heapSize;
147 data.max = sub.max;
151 data.maxStr = Utils.getByteWithUnit(sub.max);
205 if (hook.max > data.max) {
206 data.max = hook.max;
207 data.maxStr = Utils.getByteWithUnit(data.max);
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/formatter/
DDefaultFillFormatter.ets41 var max:number;
45 max = 0;
47 max = chartMaxY;
53 fillMin = dataSet.getYMin() >= 0 ? min : max;
/developtools/smartperf_host/ide/test/trace/component/schedulingAnalysis/utils/
DUtils.test.ts27 max:10,
43 max:10,
/developtools/smartperf_host/ide/src/trace/database/logic-worker/
DProcedureLogicWorkerSPT.ts124 Math.max(ptsLeftNs, it.startTs!) < Math.min(ptsRightNs, it.startTs! + it.dur!) &&
136 process.maxDuration = Math.max(process.maxDuration, slice.dur!);
143 thread.maxDuration = Math.max(thread.maxDuration, slice.dur!);
150 state.maxDuration = Math.max(state.maxDuration, slice.dur!);
218 Math.max(sptLeftNs, it.startTs!) < Math.min(sptRightNs, it.startTs! + it.dur!) &&
268 state.maxDuration = Math.max(state.maxDuration, slice.dur!);
275 process.maxDuration = Math.max(process.maxDuration, slice.dur!);
282 thread.maxDuration = Math.max(thread.maxDuration, slice.dur!);
DProcedureLogicWorkerSchedulingAnalysis.ts520 max: getProbablyTime(irqBean.max),
523 maxValue: irqBean.max,
566 if (Math.min(m.ts + m.dur, it.ts + it.dur) - Math.max(m.ts, it.ts) > 0) {
575 dur += Math.min(m.ts + m.dur, idle.ts + idle.dur) - Math.max(m.ts, idle.ts);
617 group[value].max = group[value].max > ca.dur ? group[value].max : ca.dur;
626 max: ca.dur,
645 max: getProbablyTime(cpuAnalysisBean.max),
646 maxValue: cpuAnalysisBean.max,
707 … let threads = arr.filter((f) => Math.min(f.ts + f.dur, freqEndTs) - Math.max(f.ts, it.ts) > 0);
710 let dur = Math.min(tfEndTs, tfEndTs) - Math.max(it.ts, tf.ts);
[all …]
/developtools/smartperf_host/ide/src/doc/md/
Dquickstart_schedulinganalysis.md33 - max:最大时长。
55 - max:最大时长。
70 - max:最大时长。
120 - max duration:最大运行时长。

12345678