instance counter for # of live workers

This commit is contained in:
Michael Davidsaver
2021-06-27 10:17:13 -07:00
parent 1859e44fcf
commit 1e08b6faf0
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -163,6 +163,7 @@ struct evbase::Pvt : public epicsThreadRunable
virtual void run() override final
{
INST_COUNTER(evbaseRunning);
try {
decltype (base) tbase(event_base_new());
if(evthread_make_base_notifiable(tbase.get())) {
+1
View File
@@ -62,6 +62,7 @@ CASE(StructTop);
CASE(UDPListener);
CASE(evbase);
CASE(evbaseRunning);
CASE(GPROp);
CASE(Connection);
+1
View File
@@ -298,6 +298,7 @@ CASE(StructTop);
CASE(UDPListener);
CASE(evbase);
CASE(evbaseRunning);
CASE(GPROp);
CASE(Connection);