Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 198) 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.h30 const uint64_t INVALID_ITID = std::numeric_limits<uint32_t>::max();
31 const uint64_t INVALID_IPID = std::numeric_limits<uint32_t>::max();
32 const uint64_t INVALID_UINT64 = std::numeric_limits<uint64_t>::max();
33 const uint64_t MAX_UINT32 = std::numeric_limits<uint32_t>::max();
34 const uint64_t MAX_UINT64 = std::numeric_limits<uint64_t>::max();
35 const uint32_t INVALID_UINT8 = std::numeric_limits<uint8_t>::max();
36 const uint32_t INVALID_UINT16 = std::numeric_limits<uint16_t>::max();
37 const uint32_t INVALID_UINT32 = std::numeric_limits<uint32_t>::max();
38 const uint32_t INVALID_INT32 = std::numeric_limits<int32_t>::max();
39 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;
246 const max = Math.max(r, g, b); constant
250 let l = (max + min) / 2;
252 if (max === min) {
255 const d = max - min;
256 s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
257 switch (max) {
/developtools/smartperf_host/ide/src/trace/database/ui-worker/hiperf/
DProcedureWorkerHiPerfEvent.ts106 max: number | undefined; property in HiPerfEventStruct
121 let max = 0;
128 if (sum > max) {
129 max = sum;
140 HiPerfEventStruct.maxEvent!.set(type, max);
144 it.height = Math.floor((40 * it.sum) / max);
146 it.max = max;
/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/data-trafic/cpu/
DCpuFreqLimitDataSender.ts30 max: new SharedArrayBuffer(Uint32Array.BYTES_PER_ELEMENT * MAX_COUNT),
67 let max = new Uint32Array(res.max);
73 max: max[i],
DCpuFreqLimitDataReceiver.ts119 let max = new Int32Array(transfer ? res.length : data.params.sharedArrayBuffers.max);
132 max[i] = it.max;
147 max: max.buffer,
154 transfer ? [startNs.buffer, dur.buffer, value.buffer, max.buffer, min.buffer] : []
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/freq/
DTabPaneCpuFreqLimits.ts85 limit.value = isMax ? item.max! : item.min!;
93 let max = Math.max(item.startNs || 0, start); variable
95 if (max < min) {
96 let maxId = `${item.cpu}-${item.max}-max`;
98 groupMapData(min - max, maxId, item);
99 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.ets52 var max = arr[2];
54 v = max / 255;
55 if (max === 0) {
58 s = 1 - min / max;
60 if (max === min) {
61 h = 0; //事实上,max===min的时候,h无论为多少都无所谓
62 } else if (max === r && g >= b) {
63 h = 60 * ((g - b) / (max - min)) + 0;
64 } else if (max === r && g < b) {
65 h = 60 * ((g - b) / (max - min)) + 360;
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/native-memory/
DTabPaneNMStatstics.ts119 data.max = malloc.heapSize;
148 data.max = sub.max;
152 data.maxStr = Utils.getByteWithUnit(sub.max);
210 if (hook.max > data.max) {
212 data.max = hook.max;
213 data.maxStr = Utils.getByteWithUnit(data.max);
247 return `${value.max}`;
/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerEBPF.ts246 let max = 2;
261 max = max > heap.size ? max : heap.size;
264 arr.map((it) => (it.height = Math.floor((it.size / max) * 36)));
273 let max = 0;
283 max = max > ioItem.size! ? max : ioItem.size!;
287 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.ets70 * flag indicating that auto scale max restriction should be used
366 width = Math.max(minWidth, Math.min(width, maxWidth > 0.0 ? maxWidth : width));
415 * Returns true if autoscale restriction for axis max value is enabled
423 * Sets autoscale restriction for axis max value as enabled/disabled
433 var max: number = dataMax;
435 // Make sure max is greater than min
437 if (min > max) {
440 min = max;
441 max = t;
443 min = max < 0 ? max * 1.5 : max * 0.5;
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/vmtracker/
DTabPaneVmTrackerShm.ts73 filter.maxSizeStr = Utils.getBinaryByteWithUnit(filter.max);
136 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/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/formatter/
DDefaultFillFormatter.ets37 let max: number;
41 max = 0;
43 max = chartMaxY;
51 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/doc/md/
Dquickstart_schedulinganalysis.md33 - max:最大时长。
55 - max:最大时长。
70 - max:最大时长。
120 - max duration:最大运行时长。
/developtools/smartperf_host/ide/src/trace/database/logic-worker/
DProcedureLogicWorkerSPT.ts146 Math.max(ptsLeftNs, it.startTs!) < Math.min(ptsRightNs, it.startTs! + it.dur!) &&
160 process.maxDuration = Math.max(process.maxDuration, slice.dur!);
167 thread.maxDuration = Math.max(thread.maxDuration, slice.dur!);
174 state.maxDuration = Math.max(state.maxDuration, slice.dur!);
244 Math.max(sptLeftNs, it.startTs!) < Math.min(sptRightNs, it.startTs! + it.dur!) &&
298 state.maxDuration = Math.max(state.maxDuration, slice.dur!);
305 process.maxDuration = Math.max(process.maxDuration, slice.dur!);
312 thread.maxDuration = Math.max(thread.maxDuration, slice.dur!);
/developtools/smartperf_host/ide/src/trace/bean/
DNativeHook.ts29 max: number = 0; property in NativeHookStatistics
45 max: number = 0; property in NativeHookMalloc
70 max: number = 0; property in NativeHookStatisticsTableData
/developtools/smartperf_host/trace_streamer/src/parser/ebpf_parser/
Debpf_data_parser.cpp71 …ebpfAllEventEndTime_ = std::max(FileSystemDataParser::timeParser_->GetPluginEndTime(), ebpfAllEven… in Finish()
72 …ebpfAllEventEndTime_ = std::max(PagedMemoryDataParser::timeParser_->GetPluginEndTime(), ebpfAllEve… in Finish()
73 …ebpfAllEventEndTime_ = std::max(BioLatencyDataParser::timeParser_->GetPluginEndTime(), ebpfAllEven… in Finish()

12345678