Home
last modified time | relevance | path

Searched refs:statsMap (Results 1 – 4 of 4) sorted by relevance

/system/netd/libnetdbpf/include/netdbpf/
DBpfNetworkStats.h68 int limitUid, const BpfMap<StatsKey, StatsValue>& statsMap,
75 const BpfMap<Key, StatsValue>& statsMap, uint32_t ifaceIndex, char* ifname, in getIfaceNameFromMap() argument
79 maybeLogUnknownIface(ifaceIndex, statsMap, curKey, unknownIfaceBytesTotal); in getIfaceNameFromMap()
87 void maybeLogUnknownIface(int ifaceIndex, const BpfMap<Key, StatsValue>& statsMap, in maybeLogUnknownIface() argument
95 auto statsEntry = statsMap.readValue(curKey); in maybeLogUnknownIface()
111 const BpfMap<uint32_t, StatsValue>& statsMap,
/system/netd/libnetdbpf/
DBpfNetworkStats.cpp135 int limitUid, const BpfMap<StatsKey, StatsValue>& statsMap, in parseBpfNetworkStatsDetailInternal() argument
141 const BpfMap<StatsKey, StatsValue>& statsMap) -> Result<void> { in parseBpfNetworkStatsDetailInternal() argument
143 if (getIfaceNameFromMap(ifaceMap, statsMap, key.ifaceIndex, ifname, key, in parseBpfNetworkStatsDetailInternal()
159 Result<StatsValue> statsEntry = statsMap.readValue(key); in parseBpfNetworkStatsDetailInternal()
166 Result<void> res = statsMap.iterate(processDetailUidStats); in parseBpfNetworkStatsDetailInternal()
209 BpfMap<StatsKey, StatsValue> statsMap(statsMapPath); in parseBpfNetworkStatsDetail() local
210 if (!statsMap.isValid()) { in parseBpfNetworkStatsDetail()
218 int ret = parseBpfNetworkStatsDetailInternal(lines, limitIfaces, limitTag, limitUid, statsMap, in parseBpfNetworkStatsDetail()
225 Result<void> res = statsMap.clear(); in parseBpfNetworkStatsDetail()
235 const BpfMap<uint32_t, StatsValue>& statsMap, in parseBpfNetworkStatsDevInternal() argument
[all …]
/system/extras/boottime_tools/bootio/
Dbootio_collector.cpp237 std::map<int, Stats> statsMap; in PrintPids() local
241 statsMap[it->first] = emptyStat; in PrintPids()
272 Stats& stats = statsMap[newerSample->timestamp()]; in PrintPids()
310 for (auto it = statsMap.begin(); it != statsMap.end(); it++) { in PrintPids()
/system/netd/server/
DNetdNativeService.cpp504 std::map<std::string, TetherController::TetherStats> statsMap; in setTetherStatsParcelVecByInterface() local
506 auto iter = statsMap.find(stats.extIface); in setTetherStatsParcelVecByInterface()
507 if (iter != statsMap.end()) { in setTetherStatsParcelVecByInterface()
510 statsMap.insert( in setTetherStatsParcelVecByInterface()
514 for (auto iter = statsMap.begin(); iter != statsMap.end(); iter++) { in setTetherStatsParcelVecByInterface()