| /developtools/smartperf_host/ide/test/base-ui/chart/pie/ |
| D | LitChartPie.test.ts | 67 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/ |
| D | ts_common.h | 24 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 …]
|
| D | htrace_plugin_time_parser.cpp | 23 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()
|
| D | htrace_plugin_time_parser.h | 39 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/ |
| D | ts_common.h | 24 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 …]
|
| D | htrace_plugin_time_parser.cpp | 23 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()
|
| D | htrace_plugin_time_parser.h | 39 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/ |
| D | TabPaneNMStatstics.ts | 96 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/ |
| D | TabPaneNMStatstics.ts | 98 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/ |
| D | TabPaneNMStatstics.test.ts | 59 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/ |
| D | ProcedureWorkerHiPerfEvent.ts | 91 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;
|
| D | ProcedureWorkerFileSystem.ts | 294 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/ |
| D | base_message_unittest.cpp | 130 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 …]
|
| D | varint_encode_unittest.cpp | 176 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/ |
| D | ProcedureWorkerFileSystem.ts | 303 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 …]
|
| D | ProcedureWorkerHiPerfEvent.ts | 196 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/ |
| D | TabPaneCpuFreqLimits.ts | 86 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/ |
| D | TabPaneCpuFreqLimits.ts | 86 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/ |
| D | register_test.cpp | 67 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/ |
| D | trace_data_cache_writer.cpp | 45 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/ |
| D | trace_data_cache_writer.cpp | 45 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/ |
| D | ColorTemplate.ets | 50 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/ |
| D | YAxis.ets | 69 * 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/ |
| D | TabPaneVmTrackerShm.ts | 67 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/ |
| D | ColorUtils.ts | 58 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;
|