MCPcopy Create free account
hub / github.com/acl-dev/acl / statistics

Method statistics

lib_acl_cpp/src/connpool/connect_manager.cpp:659–671  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

657}
658
659void connect_manager::statistics()
660{
661 unsigned long id = get_id();
662 conns_pools& pools = get_pools_by_id(id);
663
664 pools_cit cit = pools.pools.begin();
665 for (; cit != pools.pools.end(); ++cit) {
666 logger("server: %s, total: %llu, curr: %llu",
667 (*cit)->get_key(), (*cit)->get_total_used(),
668 (*cit)->get_current_used());
669 (*cit)->reset_statistics(stat_inter_);
670 }
671}
672
673bool connect_manager::start_monitor(connect_monitor* monitor)
674{

Callers

nothing calls this directly

Calls 7

beginMethod · 0.80
get_total_usedMethod · 0.80
get_current_usedMethod · 0.80
get_idFunction · 0.50
endMethod · 0.45
get_keyMethod · 0.45
reset_statisticsMethod · 0.45

Tested by

no test coverage detected