Home
last modified time | relevance | path

Searched refs:stats_ (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/foundation/communication/netmanager_base/test/netstatsmanager/unittest/net_stats_manager_test/
H A Dnet_stats_cached_test.cpp62 instance_->stats_.PushUidStats(info);
63 instance_->stats_.PushIfaceStats(info);
64 if (instance_->stats_.GetUidStatsInfo().empty()) {
75 instance_->stats_.ResetUidStats();
76 instance_->stats_.ResetIfaceStats();
107 instance_->stats_.currentIfaceStats_ = 0;
112 instance_->stats_.currentIfaceStats_ = 0;
122 instance_->stats_.currentUidStats_ = 0;
127 instance_->stats_.currentUidStats_ = 0;
137 instance_->stats_.currentUidSimStats_ = 0;
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/jsfwk/targets/simulator/utils/
H A Djs_heap_stats_dumper.cpp24 : stats_(), writer_(QDir::currentPath() + "/dump_heap.txt") in JSHeapStatsDumper()
26 if (memset_s(&stats_, sizeof(stats_), 0, sizeof(stats_)) != 0) { in JSHeapStatsDumper()
47 return stats.allocBytes != stats_.allocBytes || stats.peakAllocBytes != stats_.peakAllocBytes; in HasChanged()
59 stats_.allocBytes = stats.allocBytes; in UpdateStats()
60 stats_.peakAllocBytes = stats.peakAllocBytes; in UpdateStats()
61 stats_.totalBytes = stats.totalBytes; in UpdateStats()
H A Djs_heap_stats_dumper.h38 JSHeapStatus stats_; variable
/ohos5.0/foundation/communication/netmanager_base/services/netstatsmanager/src/
H A Dnet_stats_cached.cpp73 …uidStatsInfo.insert(uidStatsInfo.end(), stats_.GetUidStatsInfo().begin(), stats_.GetUidStatsInfo()… in GetUidStatsCached()
79 std::transform(stats_.GetUidSimStatsInfo().begin(), stats_.GetUidSimStatsInfo().end(), in GetUidSimStatsCached()
213 stats_.PushUidStats(info); in CacheUidStats()
235 stats_.PushUidStats(item); in CacheAppStats()
273 stats_.PushUidSimStats(info); in CacheUidSimStats()
335 stats_.ResetIfaceStats(); in WriteIfaceStats()
343 …std::for_each(stats_.GetUidStatsInfo().begin(), stats_.GetUidStatsInfo().end(), [this](NetStatsInf… in WriteUidStats()
351 stats_.ResetUidStats(); in WriteUidStats()
368 stats_.ResetUidSimStats(); in WriteUidSimStats()
412 stats_.ResetUidStats(uid); in ForceDeleteStats()
[all …]
/ohos5.0/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/stream_tunnel/lite/
H A Dstream_tunnel.cpp68 stats_.RequestBufferResult(sb); in GetBuffer()
75 stats_.CancelBufferResult(ret); in GetBuffer()
132 stats_.FlushBufferResult(ret); in PutBuffer()
136 stats_.CancelBufferResult(ret); in PutBuffer()
198 stats_.DumpStats(interval); in DumpStats()
204 stats_.SetStreamId(streamId); in SetStreamId()
H A Dstream_tunnel.h71 StreamStatistics stats_; variable
/ohos5.0/foundation/communication/netmanager_base/services/netstatsmanager/include/
H A Dnet_stats_cached.h75 stats_.SetNotifier(callbackManager); in SetCallbackManager()
215 CachedInfo stats_; variable
250 return stats_.GetCurrentUidStats() >= trafficThreshold_; in CheckUidStor()
255 return stats_.GetCurrentUidSimStats() >= trafficThreshold_; in CheckUidSimStor()
260 return stats_.GetCurrentIfaceStats() >= trafficThreshold_; in CheckIfaceStor()
/ohos5.0/base/hiviewdfx/faultloggerd/services/
H A Dfault_logger_daemon.cpp950 for (index = 0; index < stats_.size(); index++) { in HandleDumpStats()
951 if (stats_[index].pid == request->pid) { in HandleDumpStats()
964 stats_.emplace_back(stats); in HandleDumpStats()
966 stats_[index].requestTime = request->requestTime; in HandleDumpStats()
968 stats_[index].callerElfName = GetElfName(request); in HandleDumpStats()
970 stats_[index].result = request->result; in HandleDumpStats()
971 stats_[index].summary = request->summary; in HandleDumpStats()
972 ReportDumpStats(stats_[index]); in HandleDumpStats()
973 stats_.erase(stats_.begin() + index); in HandleDumpStats()
992 for (auto it = stats_.begin(); it != stats_.end();) { in RemoveTimeoutDumpStats()
[all …]
H A Dfault_logger_daemon.h107 std::vector<DumpStats> stats_; variable
/ohos5.0/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/stream_tunnel/standard/
H A Dstream_tunnel.cpp81 stats_.RequestBufferResult(sfError); in GetBuffer()
90 stats_.CancelBufferResult(ret); in GetBuffer()
158 stats_.FlushBufferResult(ret); in PutBuffer()
164 stats_.CancelBufferResult(ret); in PutBuffer()
235 stats_.DumpStats(interval); in DumpStats()
241 stats_.SetStreamId(streamId); in SetStreamId()
H A Dstream_tunnel.h76 StreamStatistics stats_; variable
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/netstats/include/context/
H A Dget_traffic_stats_by_network_context.h59 std::unordered_map<uint32_t, NetStatsInfo> stats_; variable
H A Dget_traffic_stats_by_uid_network_context.h63 std::vector<NetStatsInfoSequence> stats_; variable
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/netstats/src/context/
H A Dget_traffic_stats_by_network_context.cpp160 return stats_; in GetNetStatsInfo()
H A Dget_traffic_stats_by_uid_network_context.cpp178 return stats_; in GetNetStatsInfoSequence()