Lines Matching refs:stat
92 Stat* stat = GetStat(service, interface, method, true); in AddStat() local
93 DCHECK(stat); in AddStat()
95 ++stat->sent_method_calls; in AddStat()
97 ++stat->received_signals; in AddStat()
99 ++stat->sent_blocking_method_calls; in AddStat()
111 std::unique_ptr<Stat> stat(new Stat(service, interface, method)); in GetStat() local
112 StatSet::iterator found = stats_.find(stat.get()); in GetStat()
117 found = stats_.insert(stat.release()).first; in GetStat()
199 const Stat* stat = *cur_iter; in GetAsString() local
200 sent += stat->sent_method_calls; in GetAsString()
201 received += stat->received_signals; in GetAsString()
202 sent_blocking += stat->sent_blocking_method_calls; in GetAsString()
206 (*next_iter)->service == stat->service && in GetAsString()
207 (show < SHOW_INTERFACE || (*next_iter)->interface == stat->interface) && in GetAsString()
208 (show < SHOW_METHOD || (*next_iter)->method == stat->method)) in GetAsString()
217 line += stat->service; in GetAsString()
220 line += stat->interface; in GetAsString()
222 line += "." + stat->method; in GetAsString()
272 Stat* stat = g_dbus_statistics->GetStat(service, interface, method, false); in GetCalls() local
273 if (!stat) in GetCalls()
275 *sent = stat->sent_method_calls; in GetCalls()
276 *received = stat->received_signals; in GetCalls()
277 *blocking = stat->sent_blocking_method_calls; in GetCalls()