| /developtools/smartperf_host/ide/src/trace/component/trace/base/ |
| D | EventCenter.ts | 17 map: any; property in Event 19 this.map = {}; 23 this.map[event] = this.map[event] || []; 24 this.map[event].push(fn); 27 const fnList = this.map[event] || []; 32 const fnList = this.map[event] || []; 46 if (this.map[window.SmartEvent.UI.TraceRowComplete].length > 0) { 47 this.map[window.SmartEvent.UI.TraceRowComplete] = [];
|
| /developtools/profiler/host/smartperf/ide/src/trace/component/trace/base/ |
| D | EventCenter.ts | 17 map: any; property in Event 19 this.map = {}; 23 this.map[event] = this.map[event] || []; 24 this.map[event].push(fn); 27 const fnList = this.map[event] || []; 32 const fnList = this.map[event] || []; 46 if (this.map[window.SmartEvent.UI.TraceRowComplete].length > 0) { 47 this.map[window.SmartEvent.UI.TraceRowComplete] = [];
|
| /developtools/global_resource_tool/include/ |
| D | resource_table.h | 32 …uint32_t CreateResourceTable(const std::map<int32_t, std::vector<std::shared_ptr<ResourceItem>>> &… 33 …uint32_t LoadResTable(const std::string path, std::map<int32_t, std::vector<ResourceItem>> &resInf… 56 std::map<int32_t, uint32_t> data; // pair id and offset 64 … uint32_t SaveToResouorceIndex(const std::map<std::string, std::vector<TableData>> &configs) const; 65 uint32_t CreateIdDefined(const std::map<int32_t, std::vector<ResourceItem>> &allResource) const; 67 bool Prepare(const std::map<std::string, std::vector<TableData>> &configs, 68 std::map<std::string, LimitKeyConfig> &limitKeyConfigs, 69 std::map<std::string, IdSet> &idSets, uint32_t &pos) const; 70 …bool SaveRecordItem(const std::map<std::string, std::vector<TableData>> &configs, std::ostringstre… 71 std::map<std::string, IdSet> &idSets, uint32_t &pos) const; [all …]
|
| D | resource_module.h | 31 const std::map<int32_t, std::vector<ResourceItem>> &GetOwner() const; 32 const std::map<ResType, std::vector<DirectoryInfo>> &GetScanDirectorys() const; 33 static uint32_t MergeResourceItem(std::map<int32_t, std::vector<ResourceItem>> &alls, 34 const std::map<int32_t, std::vector<ResourceItem>> &other, bool tipError = false); 40 std::map<int32_t, std::vector<ResourceItem>> owner_; 41 std::map<ResType, std::vector<DirectoryInfo>> scanDirs_; 43 void Push(const std::map<int32_t, std::vector<ResourceItem>> &other);
|
| D | resource_data.h | 135 const std::map<std::string, OrientationType> g_orientaionMap = { 140 const std::map<std::string, DeviceType> g_deviceMap = { 148 const std::map<std::string, ResolutionType> g_resolutionMap = { 157 const std::map<std::string, NightMode> g_nightModeMap = { 162 const std::map<std::string, InputDevice> g_inputDeviceMap = { 176 const std::map<std::string, ResType> g_fileClusterMap = { 182 const std::map<std::string, ResType> g_contentClusterMap = { 196 const std::map<int32_t, ResType> g_resTypeMap = { 215 const std::map<std::string, std::vector<uint32_t>> g_normalIconMap = { 230 const std::map<std::string, uint32_t> g_keyNodeIndexs = {
|
| D | file_manager.h | 30 const std::map<int32_t, std::vector<ResourceItem>> &GetResources() const in GetResources() 38 uint32_t MergeResourceItem(const std::map<int32_t, std::vector<ResourceItem>> &resourceInfos); 42 std::map<ResType, std::vector<DirectoryInfo>> &resTypeOfDirs); 46 std::map<int32_t, std::vector<ResourceItem>> items_;
|
| /developtools/hiperf/src/ |
| D | virtual_thread.cpp | 144 for (auto &map : memMaps_) { in FindMapByFileInfo() local 145 if (name != map.name_) { in FindMapByFileInfo() 149 if (offset >= map.pageoffset_ && (offset - map.pageoffset_) < (map.end_ - map.begin_)) { in FindMapByFileInfo() 152 offset, map.begin_, map.end_, map.pageoffset_, map.name_.c_str()); in FindMapByFileInfo() 153 return ↦ in FindMapByFileInfo() 192 for (auto &map : memMaps_) { in ReportVaddrMapMiss() local 193 HLOGV("map %s ", map.ToString().c_str()); in ReportVaddrMapMiss() 218 MemMapItem &map = memMaps_[memMapIndex]; in ReadRoMemory() local 219 if (map.symfile == nullptr) { in ReadRoMemory() 221 map.symfile = FindSymbolsFileByMap(map); in ReadRoMemory() [all …]
|
| D | virtual_runtime.cpp | 179 MemMapItem &map = koMaps.emplace_back(addr, addr + size, 0, std::string(module)); in UpdateKernelModulesSpaceMaps() local 180 HLOGV("add ko map %s", map.ToString().c_str()); in UpdateKernelModulesSpaceMaps() 192 for (MemMapItem &map : koMaps) { in UpdateKernelModulesSpaceMaps() 193 auto record = std::make_unique<PerfRecordMmap>(true, 0, 0, map.begin_, in UpdateKernelModulesSpaceMaps() 194 map.end_ - map.begin_, 0, map.name_); in UpdateKernelModulesSpaceMaps() 204 auto &map = kernelSpaceMemMaps_.emplace_back(0, std::numeric_limits<uint64_t>::max(), 0, in UpdateKernelSpaceMaps() local 207 auto record = std::make_unique<PerfRecordMmap>(true, 0, 0, map.begin_, in UpdateKernelSpaceMaps() 208 map.end_ - map.begin_, 0, map.name_); in UpdateKernelSpaceMaps() 216 for (MemMapItem &map : kernelSpaceMemMaps_) { in UpdateKernelModulesSymbols() 217 if (map.name_ == KERNEL_MMAP_NAME) { in UpdateKernelModulesSymbols() [all …]
|
| /developtools/profiler/hiebpf/src/ |
| D | maps_info.cpp | 48 uint32_t MapsInfo::GetBinary(const MapsItem &map, std::vector<uint8_t> &buf) in GetBinary() argument 50 … uint32_t fixLen = sizeof(map.start_) + sizeof(map.end_) + sizeof(map.offset_) + sizeof(map.pid_); in GetBinary() 51 uint32_t len = fixLen + sizeof(uint32_t) + map.fileName_.size() + 1; in GetBinary() 54 const uint8_t *rp = reinterpret_cast<const uint8_t *>(&map); in GetBinary() 58 *(reinterpret_cast<uint32_t *>(wp)) = map.fileName_.size() + 1; // fileNameLen in GetBinary() 60 …std::copy(map.fileName_.c_str(), map.fileName_.c_str() + map.fileName_.size() + 1, wp); // fileName in GetBinary()
|
| /developtools/smartperf_host/ide/src/trace/component/trace/sheet/process/ |
| D | TabPaneThreadUsage.ts | 71 let map: Map<number, any> = new Map<number, any>(); 74 if (map.has(resultEl.tid)) { 75 map.get(resultEl.tid)[`cpu${resultEl.cpu}`] = resultEl.wallDuration || 0; 76 … map.get(resultEl.tid)[`cpu${resultEl.cpu}TimeStr`] = getProbablyTime(resultEl.wallDuration || 0); 77 map.get(resultEl.tid)[`cpu${resultEl.cpu}Ratio`] = ( 81 map.get(resultEl.tid)[`wallDuration`] = 82 map.get(resultEl.tid)[`wallDuration`] + (resultEl.wallDuration || 0); 83 …map.get(resultEl.tid)[`wallDurationTimeStr`] = getProbablyTime(map.get(resultEl.tid)[`wallDuration… 106 map.set(resultEl.tid, threadStatesStruct); 110 this.threadUsageSource = Array.from(map.values());
|
| /developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/process/ |
| D | TabPaneThreadUsage.ts | 71 let map: Map<number, any> = new Map<number, any>(); 74 if (map.has(resultEl.tid)) { 75 map.get(resultEl.tid)[`cpu${resultEl.cpu}`] = resultEl.wallDuration || 0; 76 … map.get(resultEl.tid)[`cpu${resultEl.cpu}TimeStr`] = getProbablyTime(resultEl.wallDuration || 0); 77 map.get(resultEl.tid)[`cpu${resultEl.cpu}Ratio`] = ( 81 map.get(resultEl.tid)[`wallDuration`] = 82 map.get(resultEl.tid)[`wallDuration`] + (resultEl.wallDuration || 0); 83 …map.get(resultEl.tid)[`wallDurationTimeStr`] = getProbablyTime(map.get(resultEl.tid)[`wallDuration… 106 map.set(resultEl.tid, threadStatesStruct); 110 this.threadUsageSource = Array.from(map.values());
|
| /developtools/smartperf_host/ide/src/trace/database/logic-worker/ |
| D | ProcedureLogicWorkerSchedulingAnalysis.ts | 213 results: arr.map((it) => { 241 results: arr.map((it) => { 455 let map: Map<number, Array<Irq>> = new Map<number, Array<Irq>>(); 459 if (map.has(ca.cpu)) { 460 map.get(ca.cpu)!.push(ca); 462 map.set(ca.cpu, [ca]); 467 for (let key of map.keys()) { 468 let cpuArr = map 474 cpuArr.map((irqBean) => { 542 let map: Map<number, Array<CpuMeasure>> = new Map<number, Array<CpuMeasure>>(); [all …]
|
| /developtools/profiler/host/smartperf/ide/src/trace/database/logic-worker/ |
| D | ProcedureLogicWorkerSchedulingAnalysis.ts | 213 results: arr.map((it) => { 241 results: arr.map((it) => { 455 let map: Map<number, Array<Irq>> = new Map<number, Array<Irq>>(); 459 if (map.has(ca.cpu)) { 460 map.get(ca.cpu)!.push(ca); 462 map.set(ca.cpu, [ca]); 467 for (let key of map.keys()) { 468 let cpuArr = map 474 cpuArr.map((it) => { 542 let map: Map<number, Array<CpuMeasure>> = new Map<number, Array<CpuMeasure>>(); [all …]
|
| /developtools/ace_js2bundle/ace-loader/src/ |
| D | extgen.js | 20 module.exports = function (source, map) { argument 31 callback(null, parsed.hmlCss.hml, map); 34 callback(null, parsed.hmlCss.css, map); 37 callback(null, parsed.hmlCss.json, map);
|
| D | manifest-plugin.js | 17 module.exports = function(source, map) { argument 22 callback(null, JSON.stringify({ 'manifest.json': 'content' }), map) 24 callback(null, source, map)
|
| /developtools/profiler/host/smartperf/ide/src/trace/component/schedulingAnalysis/ |
| D | Top20ThreadCpuUsage.ts | 47 private map: Map<string, { chart: LitChartColumn; table: LitTable }> | undefined; property in Top20ThreadCpuUsage 100 this.map = new Map<string, { chart: LitChartColumn; table: LitTable }>(); 101 this.map.set('total', { chart: this.chartTotal!, table: this.table! }); 102 this.map.set('small', { chart: this.chart2!, table: this.tableSmall! }); 103 this.map.set('mid', { chart: this.chart3!, table: this.tableMid! }); 104 this.map.set('big', { chart: this.chart4!, table: this.tableBig! }); 126 for (let key of this.map!.keys()) { 127 let tab = this.map!.get(key)!.table; 128 let chart = this.map!.get(key)!.chart; 207 for (let key of this.map!.keys()) { [all …]
|
| /developtools/smartperf_host/ide/src/trace/component/schedulingAnalysis/ |
| D | Top20ThreadCpuUsage.ts | 47 private map: Map<string, { chart: LitChartColumn; table: LitTable }> | undefined; property in Top20ThreadCpuUsage 100 this.map = new Map<string, { chart: LitChartColumn; table: LitTable }>(); 101 this.map.set('total', { chart: this.chartTotal!, table: this.table! }); 102 this.map.set('small', { chart: this.chart2!, table: this.tableSmall! }); 103 this.map.set('mid', { chart: this.chart3!, table: this.tableMid! }); 104 this.map.set('big', { chart: this.chart4!, table: this.tableBig! }); 126 for (let key of this.map!.keys()) { 127 let tab = this.map!.get(key)!.table; 128 let chart = this.map!.get(key)!.chart; 207 for (let key of this.map!.keys()) { [all …]
|
| /developtools/profiler/host/smartperf/ide/src/trace/component/ |
| D | StackBar.ts | 29 let map = new Map<string, StackValue>(); 31 if (map.has(v.state)) { 32 let sv = map.get(v.state); 40 map.set(v.state, sv); 45 for (let key of map.keys()) { 47 totalDuration = map.get(key)!.value; 49 arr.push(map.get(key)!);
|
| /developtools/smartperf_host/ide/src/trace/component/ |
| D | StackBar.ts | 29 let map = new Map<string, StackValue>(); 31 if (map.has(v.state)) { 32 let sv = map.get(v.state); 40 map.set(v.state, sv); 45 for (let key of map.keys()) { 47 totalDuration = map.get(key)!.value; 49 arr.push(map.get(key)!);
|
| /developtools/profiler/host/smartperf/trace_streamer/src/filter/ |
| D | cpu_filter.h | 67 std::map<uint64_t, uint64_t> cpuToRowThreadState_ = {}; 72 std::map<uint64_t, RowPos> cpuToRowSched_ = {}; 74 std::map<uint64_t, uint64_t> lastWakeUpMsg_ = {}; 75 std::map<uint32_t, uint64_t> pidToThreadSliceRow = {}; 80 std::map<uint32_t, TPthread> internalTidToRowThreadState_ = {}; 85 std::map<uint64_t, uint64_t> toRunnableTid_ = {};
|
| /developtools/smartperf_host/trace_streamer/src/filter/ |
| D | cpu_filter.h | 67 std::map<uint64_t, uint64_t> cpuToRowThreadState_ = {}; 72 std::map<uint64_t, RowPos> cpuToRowSched_ = {}; 74 std::map<uint64_t, uint64_t> lastWakeUpMsg_ = {}; 75 std::map<uint32_t, uint64_t> pidToThreadSliceRow = {}; 80 std::map<uint32_t, TPthread> internalTidToRowThreadState_ = {}; 85 std::map<uint64_t, uint64_t> toRunnableTid_ = {};
|
| /developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/database/ |
| D | DatabaseUtils.ts | 303 let map = curGPData.values variable 308 map.get("cpu0Freq"), 309 map.get("cpu1Freq"), 310 map.get("cpu2Freq"), 311 map.get("cpu3Freq"), 312 map.get("cpu4Freq"), 313 map.get("cpu5Freq"), 314 map.get("cpu6Freq"), 315 map.get("cpu7Freq") 320 map.get("cpu0Load"), [all …]
|
| /developtools/profiler/host/smartperf/client/client_command/ |
| D | RAM.cpp | 22 std::map<std::string, std::string> RAM::ItemData() in ItemData() 24 std::map<std::string, std::string> result; in ItemData() 25 std::map<std::string, std::string> ramInfo = RAM::GetRamInfo(); in ItemData() 34 std::map<std::string, std::string> RAM::GetRamInfo() const in GetRamInfo() 36 std::map<std::string, std::string> ramInfo; in GetRamInfo()
|
| /developtools/global_resource_tool/src/ |
| D | resource_table.cpp | 45 map<string, vector<TableData>> configs; in CreateResourceTable() 70 uint32_t ResourceTable::CreateResourceTable(const map<int32_t, vector<shared_ptr<ResourceItem>>> &i… in CreateResourceTable() 72 map<string, vector<TableData>> configs; in CreateResourceTable() 73 map<int32_t, vector<ResourceItem>> allResource; in CreateResourceTable() 101 uint32_t ResourceTable::LoadResTable(const string path, map<int32_t, vector<ResourceItem>> &resInfo… in LoadResTable() 124 map<int32_t, vector<KeyParam>> limitKeys; in LoadResTable() 130 map<int32_t, pair<int32_t, int32_t>> datas; in LoadResTable() 148 uint32_t ResourceTable::CreateIdDefined(const map<int32_t, vector<ResourceItem>> &allResource) const in CreateIdDefined() 183 uint32_t ResourceTable::SaveToResouorceIndex(const map<string, vector<TableData>> &configs) const in SaveToResouorceIndex() 192 map<string, LimitKeyConfig> limitKeyConfigs; in SaveToResouorceIndex() [all …]
|
| /developtools/hiperf/include/ |
| D | report_json_file.h | 33 using jsonStringMap = std::map<std::string, std::string>; 131 void OutputJsonMapList(FILE *output, const std::string &key, const std::map<K, V> &value, 155 void OutputJsonMap(FILE *output, const std::string &key, const std::map<K, V> &value, 176 V &GetOrCreateMapItem(std::map<K, V> &map, const K &key) in GetOrCreateMapItem() argument 178 if (map.count(key) == 0) { in GetOrCreateMapItem() 179 map.emplace(key, (key)); in GetOrCreateMapItem() 180 return map.at(key); in GetOrCreateMapItem() 182 return map.at(key); in GetOrCreateMapItem() 232 std::map<int, ReportCallNodeItem> childrenMap; 275 std::map<int, ReportFuncItem> funcs_; [all …]
|