Home
last modified time | relevance | path

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

1234567891011

/developtools/smartperf_host/ide/test/base-ui/chart/pie/
DLitChartPie.test.ts67 max: '3.47ms ',
78 max: '14.07ms ',
89 max: '25.12ms ',
100 max: '27.30ms ',
111 max: '20.34ms ',
122 max: '8.28ms ',
133 max: '2.80ms ',
144 max: '1.12ms ',
155 max: '65.67μs ',
166 max: '56.04μs ',
[all …]
/developtools/smartperf_host/trace_streamer/src/base/
Dts_common.h24 const uint64_t INVALID_ITID = std::numeric_limits<uint32_t>::max();
25 const uint64_t INVALID_UINT64 = std::numeric_limits<uint64_t>::max();
26 const uint64_t MAX_UINT32 = std::numeric_limits<uint32_t>::max();
27 const uint64_t MAX_UINT64 = std::numeric_limits<uint64_t>::max();
28 const uint32_t INVALID_UINT8 = std::numeric_limits<uint8_t>::max();
29 const uint32_t INVALID_UINT16 = std::numeric_limits<uint16_t>::max();
30 const uint32_t INVALID_UINT32 = std::numeric_limits<uint32_t>::max();
31 const uint32_t INVALID_INT32 = std::numeric_limits<int32_t>::max();
32 const int64_t INVALID_INT64 = std::numeric_limits<int64_t>::max();
33 const uint64_t INVALID_DATAINDEX = std::numeric_limits<uint64_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/profiler/host/smartperf/trace_streamer/src/base/
Dts_common.h24 const uint64_t INVALID_ITID = std::numeric_limits<uint32_t>::max();
25 const uint64_t INVALID_UINT64 = std::numeric_limits<uint64_t>::max();
26 const uint64_t MAX_UINT32 = std::numeric_limits<uint32_t>::max();
27 const uint64_t MAX_UINT64 = std::numeric_limits<uint64_t>::max();
28 const uint32_t INVALID_UINT8 = std::numeric_limits<uint8_t>::max();
29 const uint32_t INVALID_UINT16 = std::numeric_limits<uint16_t>::max();
30 const uint32_t INVALID_UINT32 = std::numeric_limits<uint32_t>::max();
31 const uint32_t INVALID_INT32 = std::numeric_limits<int32_t>::max();
32 const int64_t INVALID_INT64 = std::numeric_limits<int64_t>::max();
33 const uint64_t INVALID_DATAINDEX = std::numeric_limits<uint64_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/profiler/host/smartperf/ide/src/trace/component/trace/sheet/native-memory/
DTabPaneNMStatstics.ts96 data.max = malloc.heapSize;
125 data.max = sub.max;
129 data.maxStr = Utils.getByteWithUnit(sub.max);
176 if (hook.max > all.max) {
177 all.max = hook.max;
178 all.maxStr = Utils.getByteWithUnit(all.max);
186 if (hook.max > heap.max) {
187 heap.max = hook.max;
188 heap.maxStr = Utils.getByteWithUnit(heap.max);
196 if (hook.max > anonymous.max) {
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/native-memory/
DTabPaneNMStatstics.ts98 data.max = malloc.heapSize;
127 data.max = sub.max;
131 data.maxStr = Utils.getByteWithUnit(sub.max);
178 if (hook.max > all.max) {
179 all.max = hook.max;
180 all.maxStr = Utils.getByteWithUnit(all.max);
188 if (hook.max > heap.max) {
189 heap.max = hook.max;
190 heap.maxStr = Utils.getByteWithUnit(heap.max);
198 if (hook.max > anonymous.max) {
[all …]
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/native-memory/
DTabPaneNMStatstics.test.ts59 max: 0,
74 max: 110,
116 max: 100000,
136 max: 50,
180 max: 100654,
200 max: 220,
244 max: 10114,
264 max: 2082,
308 max: 214,
328 max: 232,
[all …]
/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerHiPerfEvent.ts91 max: number | undefined; property in HiPerfEventStruct
104 let max = 0;
109 if (sum > max) max = sum;
119 HiPerfEventStruct.maxEvent!.set(type, max);
122 it.height = Math.floor((40 * it.sum) / max);
123 it.max = max;
DProcedureWorkerFileSystem.ts294 let max = 2;
309 max = max > heap.size ? max : heap.size;
312 arr.map((it) => (it.height = Math.floor((it.size / max) * 36)));
330 let max = 1;
332 max = obj[aKey].length > max ? obj[aKey].length : max;
336 let height: number = Math.floor((obj[aKey].length / max) * 36);
350 let max = 0;
360 max = max > ioItem.size ? max : ioItem.size;
364 let height = Math.floor((it.size / max) * 36);
394 let max = 1;
[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/profiler/host/smartperf/ide/src/trace/database/ui-worker/
DProcedureWorkerFileSystem.ts303 let max = 2;
318 max = max > heap.size ? max : heap.size;
321 arr.map((it) => (it.height = Math.floor((it.size / max) * 36)));
339 let max = 1;
341 max = obj[aKey].length > max ? obj[aKey].length : max;
345 let height: number = Math.floor((obj[aKey].length / max) * 36);
359 let max = 0;
369 max = max > ioItem.size ? max : ioItem.size;
373 let height = Math.floor((it.size / max) * 36);
403 let max = 1;
[all …]
DProcedureWorkerHiPerfEvent.ts196 max: number | undefined; property in HiPerfEventStruct
209 let max = 0;
214 if (sum > max) max = sum;
224 HiPerfEventStruct.maxEvent!.set(type, max);
227 it.height = Math.floor((40 * it.sum) / max);
228 it.max = max;
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/freq/
DTabPaneCpuFreqLimits.ts86 limit.value = isMax ? item.max! : item.min!;
94 let max = Math.max(item.startNs || 0, start); variable
96 if (max < min) {
97 let maxId = `${item.cpu}-${item.max}-max`;
99 groupMapData(min - max, maxId, item);
100 groupMapData(min - max, minId, item);
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/freq/
DTabPaneCpuFreqLimits.ts86 limit.value = isMax ? item.max! : item.min!;
94 let max = Math.max(item.startNs || 0, start); variable
96 if (max < min) {
97 let maxId = `${item.cpu}-${item.max}-max`;
99 groupMapData(min - max, maxId, item);
100 groupMapData(min - max, minId, item);
/developtools/hiperf/test/unittest/common/native/
Dregister_test.cpp67 std::numeric_limits<uint64_t>::max());
68 EXPECT_EQ(GetSupportedRegMask(static_cast<ArchType>(-1)), std::numeric_limits<uint64_t>::max());
198 unsigned max = PERF_REG_X86_64_MAX; variable
200 unsigned max = PERF_REG_ARM_MAX;
202 unsigned max = PERF_REG_ARM64_MAX;
204 for (unsigned i = 0; i < max; i++) {
207 EXPECT_EQ(LibunwindRegIdToPerfReg(max + 1) < 0, true);
/developtools/smartperf_host/trace_streamer/sdk/demo_sdk/trace_data/
Dtrace_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/smartperf_host/trace_streamer/sdk/dubai_sdk/trace_data/
Dtrace_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/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.ts67 filter.maxSizeStr = Utils.getBinaryByteWithUnit(filter.max);
124 return sort === 1 ? leftMax.max - rightMax.max : rightMax.max - leftMax.max;
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/base/
DColorUtils.ts58 public static hash(str: string, max: number): number {
69 return Math.abs(hash) % max;
101 public static hashFunc(str: string, depth: number, max: number): number {
112 return (Math.abs(hash) + depth) % max;

1234567891011