/developtools/profiler/device/plugins/native_daemon/src/ |
D | virtual_thread.cpp | 81 for (auto &map : *memMaps_) { in FindMapByAddr() 82 if (addr >= map.begin_ && addr < map.end_) { in FindMapByAddr() 83 outMap = map; in FindMapByAddr() 86 addr, outMap.FileOffsetFromAddr(addr), map.begin_, map.end_, map.pageoffset_, in FindMapByAddr() 87 map.name_.c_str()); in FindMapByAddr() 98 for (auto &map : *memMaps_) { in FindMapByFileInfo() 99 if (name != map.name_) { in FindMapByFileInfo() 103 if (offset >= map.pageoffset_ && (offset - map.pageoffset_) < (map.end_ - map.begin_)) { in FindMapByFileInfo() 104 outMap = map; in FindMapByFileInfo() 107 offset, map.begin_, map.end_, map.pageoffset_, map.name_.c_str()); in FindMapByFileInfo() [all …]
|
D | virtual_runtime.cpp | 219 for (auto map : memMaps) { in GetKernelSymbol() local 220 if (ip > map.begin_ && ip < map.end_) { in GetKernelSymbol() 222 ip, map.begin_, map.end_, map.name_.c_str()); in GetKernelSymbol() 223 vaddrSymbol.module_ = map.name_; in GetKernelSymbol() 226 if (symbolsFile->filePath_ == map.name_) { in GetKernelSymbol() 228 symbolsFile->GetVaddrInSymbols(ip, map.begin_, map.pageoffset_); in GetKernelSymbol() 230 vaddrSymbol.ipVaddr_, ip, map.name_.c_str()); in GetKernelSymbol() 236 map.name_.c_str()); in GetKernelSymbol() 239 map.begin_, map.end_, map.name_.c_str()); in GetKernelSymbol()
|
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/ |
D | TabPanePTS.ts | 40 processes.map((spt) => { 49 threads!.map((spt) => { 56 let map = stateMap.get(process.processId); 58 let states = map!.get(thread.threadId); 59 states!.map((spt) => { 77 let map = new Map<number, Array<StateProcessThread>>(); 79 if (map.has(spt.threadId)) { 80 map.get(spt.threadId)!.push(spt); 84 map.set(spt.threadId, list); 87 return map; [all …]
|
D | TabPaneContextSwitch.ts | 40 processes.map((spt) => { 49 threads!.map((spt) => { 56 let map = stateMap.get(process.processId); 58 let states = map!.get(thread.threadId); 59 states!.map((spt) => { 77 let map = new Map<number, Array<StateProcessThread>>(); 79 if (map.has(spt.threadId)) { 80 map.get(spt.threadId)!.push(spt); 84 map.set(spt.threadId, list); 87 return map; [all …]
|
D | TabPaneSPT.ts | 40 states.map((spt) => { 48 processes!.map((spt) => { 54 let map = threadMap.get(state.state); 56 let threads = map!.get(process.processId); 57 threads!.map((spt) => { 75 let map = new Map<string, Array<StateProcessThread>>(); 77 if (map.has(spt.state)) { 78 map.get(spt.state)!.push(spt); 82 map.set(spt.state, list); 85 return map; [all …]
|
D | TabPaneThreadSwitch.ts | 39 states.map((spt) => { 48 processes!.map((spt) => { 54 let map = threadMap.get(state.state); 56 let threads = map!.get(process.processId); 57 threads!.map((spt) => { 75 let map = new Map<string, Array<StateProcessThread>>(); 77 if (map.has(spt.state)) { 78 map.get(spt.state)!.push(spt); 82 map.set(spt.state, list); 85 return map; [all …]
|
D | TabPaneCpuUsage.ts | 111 let map = new Map<number, number>(); 113 if (map.has(freq.value)) { 114 let sumDur = map.get(freq.value) + freq.dur; 115 map.set(freq.value, sumDur) 117 map.set(freq.value, freq.dur); 120 let array = Array.from(map); 140 let map = new Map<string, Array<Freq>>(); 142 if (map.has(spt.cpu)) { 143 map.get(spt.cpu)!.push(spt); 147 map.set(spt.cpu, list); [all …]
|
/developtools/global_resource_tool/include/ |
D | resource_table.h | 31 …uint32_t LoadResTable(const std::string path, std::map<int32_t, std::vector<ResourceItem>> &resInf… 54 std::map<int32_t, uint32_t> data; // pair id and offset 62 … uint32_t SaveToResouorceIndex(const std::map<std::string, std::vector<TableData>> &configs) const; 64 bool Prepare(const std::map<std::string, std::vector<TableData>> &configs, 65 std::map<std::string, LimitKeyConfig> &limitKeyConfigs, 66 std::map<std::string, IdSet> &idSets, uint32_t &pos) const; 67 …bool SaveRecordItem(const std::map<std::string, std::vector<TableData>> &configs, std::ofstream &o… 68 std::map<std::string, IdSet> &idSets, uint32_t &pos) const; 70 …void SaveLimitKeyConfigs(const std::map<std::string, LimitKeyConfig> &limitKeyConfigs, std::ofstre… 71 void SaveIdSets(const std::map<std::string, IdSet> &idSets, std::ofstream &out) const; [all …]
|
D | resource_module.h | 30 const std::map<int32_t, std::vector<ResourceItem>> &GetOwner() const; 31 const std::map<ResType, std::vector<DirectoryInfo>> &GetScanDirectorys() const; 32 static uint32_t MergeResourceItem(std::map<int32_t, std::vector<ResourceItem>> &alls, 33 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_; 44 void Push(const std::map<int32_t, std::vector<ResourceItem>> &other);
|
D | solid_xml.h | 31 …explicit SolidXml(const std::string &xmlPath, std::map<XmlKeyNode::KeyType, std::shared_ptr<XmlKey… 35 std::map<XmlKeyNode::KeyType, std::shared_ptr<XmlKeyNode>> &newKeys); 43 … virtual bool FlushIndex(const std::map<XmlKeyNode::KeyType, std::shared_ptr<XmlKeyNode>> &oldKeys, 44 std::map<XmlKeyNode::KeyType, std::shared_ptr<XmlKeyNode>> &newKeys); 60 bool FlushIndex(const std::map<XmlKeyNode::KeyType, std::shared_ptr<XmlKeyNode>> &oldKeys, 61 std::map<XmlKeyNode::KeyType, std::shared_ptr<XmlKeyNode>> &newKeys) override; 78 …static bool ChangeToNewKey(const std::map<XmlKeyNode::KeyType, std::shared_ptr<XmlKeyNode>> &oldKe… 79 std::map<XmlKeyNode::KeyType, std::shared_ptr<XmlKeyNode>> &newKeys, 81 bool FlushXmlnsKey(std::map<XmlKeyNode::KeyType, std::shared_ptr<XmlKeyNode>> &newKeys); 83 std::map<XmlKeyNode::KeyType, std::shared_ptr<XmlKeyNode>> &keys_;
|
D | file_manager.h | 31 const std::map<int32_t, std::vector<ResourceItem>> &GetResources() const { return items_; }; in GetResources() 34 uint32_t MergeResourceItem(const std::map<int32_t, std::vector<ResourceItem>> &resourceInfos); 38 std::map<ResType, std::vector<DirectoryInfo>> &resTypeOfDirs); 42 const std::map<ResType, std::vector<DirectoryInfo>> &resTypeOfDirs) const; 45 std::map<int32_t, std::vector<ResourceItem>> items_;
|
D | increment_manager.h | 47 const std::map<int32_t, std::vector<ResourceItem>> &GetResourceItems() const { return items_; }; in GetResourceItems() 48 const std::map<ResType, std::vector<DirectoryInfo>> &GetScanDirs() const { return scanDirs_; }; in GetScanDirs() 60 void PushScanDir(const std::map<ResType, std::vector<DirectoryInfo>> &scanDirs); 67 std::map<int32_t, std::vector<ResourceItem>> items_; 68 std::map<ResType, std::vector<DirectoryInfo>> scanDirs_;
|
/developtools/profiler/host/smartperf/client/include/ |
D | profiler.h | 33 void createCpu(std::map<std::string, std::string> &gpMap); 34 void createGpu(std::map<std::string, std::string> &gpMap); 35 void createDdr(std::map<std::string, std::string> &gpMap); 36 void createFps(int isVideo, int isCamera, std::map<std::string, std::string> &gpMap); 37 void createTemp(std::map<std::string, std::string> &gpMap); 38 void createPower(std::map<std::string, std::string> &gpMap); 39 … void createRam(const std::string &pkg_name, std::map<std::string, std::string> &gpMap, int pid); 40 void createSnapshot(std::map<std::string, std::string> &gpMap, long long timestamp);
|
D | Temperature.h | 34 const std::map<std::string, std::string> collect_nodes = { 40 std::map<std::string, float> getThermalMap(); 50 std::map<std::string, std::string> thermal_node_path_map;
|
/developtools/hiperf/src/ |
D | virtual_thread.cpp | 106 for (auto &map : memMaps_) { in FindMapByFileInfo() local 107 if (name != map.name_) { in FindMapByFileInfo() 111 if (offset >= map.pageoffset_ && (offset - map.pageoffset_) < (map.end_ - map.begin_)) { in FindMapByFileInfo() 114 offset, map.begin_, map.end_, map.pageoffset_, map.name_.c_str()); in FindMapByFileInfo() 115 return ↦ in FindMapByFileInfo() 150 for (auto &map : memMaps_) { in ReportVaddrMapMiss() local 151 HLOGV("map %s ", map.ToString().c_str()); in ReportVaddrMapMiss() 160 const MemMapItem *map = FindMapByAddr(vaddr); in ReadRoMemory() local 161 if (map != nullptr) { in ReadRoMemory() 163 SymbolsFile *symbolsFile = FindSymbolsFileByMap(*map); in ReadRoMemory() [all …]
|
D | virtual_runtime.cpp | 171 MemMapItem &map = koMaps.emplace_back(addr, addr + size, 0, std::string(module)); in UpdateKernelModulesSpaceMaps() local 172 HLOGV("add ko map %s", map.ToString().c_str()); in UpdateKernelModulesSpaceMaps() 184 for (MemMapItem &map : koMaps) { in UpdateKernelModulesSpaceMaps() 185 auto record = std::make_unique<PerfRecordMmap>(true, 0, 0, map.begin_, in UpdateKernelModulesSpaceMaps() 186 map.end_ - map.begin_, 0, map.name_); in UpdateKernelModulesSpaceMaps() 196 auto &map = kernelSpaceMemMaps_.emplace_back(0, std::numeric_limits<uint64_t>::max(), 0, in UpdateKernelSpaceMaps() local 199 auto record = std::make_unique<PerfRecordMmap>(true, 0, 0, map.begin_, in UpdateKernelSpaceMaps() 200 map.end_ - map.begin_, 0, map.name_); in UpdateKernelSpaceMaps() 208 for (MemMapItem &map : kernelSpaceMemMaps_) { in UpdateKernelModulesSymbols() 209 if (map.name_ == KERNEL_MMAP_NAME) { in UpdateKernelModulesSymbols() [all …]
|
/developtools/profiler/host/ohosprofiler/src/main/java/ohos/devtools/datasources/databases/databasepool/ |
D | DataTableHelper.java | 85 public static String getDeleteCondition(Map<String, Object> map) { in getDeleteCondition() argument 89 Set<String> keySet = map.keySet(); in getDeleteCondition() 99 if ((String.valueOf(map.get(keyArray[i]))).trim().length() > 0) { in getDeleteCondition() 101 if (map.get(keyArray[i]) instanceof String) { in getDeleteCondition() 102 … stringBuffer.append(" = '").append(String.valueOf(map.get(keyArray[i])).trim()).append("'"); in getDeleteCondition() 104 … stringBuffer.append(" = `").append(String.valueOf(map.get(keyArray[i])).trim()).append("`"); in getDeleteCondition() 120 public static String mapToString(Map<String, Object> map) { in mapToString() argument 124 Set<String> keySet = map.keySet(); in mapToString() 133 if ((String.valueOf(map.get(keyArray[i]))).trim().length() > 0) { in mapToString() 134 …stringBuffer.append(keyArray[i]).append(" = '").append(String.valueOf(map.get(keyArray[i])).trim()) in mapToString()
|
/developtools/profiler/host/smartperf/client/ |
D | profiler.cpp | 30 void Profiler::createCpu(std::map<std::string, std::string> &gpMap) in createCpu() 50 void Profiler::createGpu(std::map<std::string, std::string> &gpMap) in createGpu() 62 void Profiler::createDdr(std::map<std::string, std::string> &gpMap) in createDdr() 70 … void Profiler::createFps(int isVideo, int isCamera, std::map<std::string, std::string> &gpMap) in createFps() 94 void Profiler::createTemp(std::map<std::string, std::string> &gpMap) in createTemp() 96 std::map<std::string, float> tempInfo = mTemperature->getThermalMap(); in createTemp() 98 std::map<std::string, float>::iterator iter; in createTemp() 108 void Profiler::createPower(std::map<std::string, std::string> &gpMap) in createPower() 110 std::map<std::string, std::string> powerInfo; in createPower() 112 std::map<std::string, std::string>::iterator iter; in createPower() [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/ |
D | StackBar.ts | 30 let map = new Map<string, StackValue>(); 32 if (map.has(v.state)) { 33 let sv = map.get(v.state) 41 map.set(v.state, sv); 46 for (let key of map.keys()) { 48 totalDuration = map.get(key)!.value; 50 arr.push(map.get(key)!);
|
/developtools/profiler/device/plugins/native_daemon/include/ |
D | callstack.h | 68 const MemMapItem &map = *it; in UpdateMaps() local 70 maps_.emplace_back(CreateMapInfo(map)); in UpdateMaps() 82 unwindstack::MapInfo *CreateMapInfo(const MemMapItem &map) in CreateMapInfo() argument 84 return new unwindstack::MapInfo(nullptr, map.begin_, map.end_, map.pageoffset_, in CreateMapInfo() 85 PROT_READ | PROT_EXEC | map.flags, map.name_.c_str()); in CreateMapInfo() 109 std::map<pid_t, HashList<uint64_t, std::vector<CallFrame>>> cachedCallFramesMap_; 144 std::map<pid_t, unw_addr_space_t> unwindAddrSpaceMap_;
|
/developtools/hiperf/include/ |
D | subcommand_stat.h | 93 const std::map<std::string, std::unique_ptr<PerfEvents::CountEvent>> &countEvents, 96 const std::map<std::string, std::unique_ptr<PerfEvents::CountEvent>> &countEvents, 97 std::map<std::string, std::string> &comments); 99 const std::map<std::string, std::unique_ptr<PerfEvents::CountEvent>> &countEvents, 105 static void Report(const std::map<std::string, std::unique_ptr<PerfEvents::CountEvent>> &);
|
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 …]
|
/developtools/profiler/device/services/ipc/include/ |
D | ipc_generator_impl.h | 30 std::map<int, std::string> methodList_; 31 std::map<int, std::string> requestList_; 32 std::map<int, std::string> responseList_; 80 std::map<int, IpcServices> serviceList_; 83 std::map<int, std::string> enumMessageDict_;
|