X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FStatistics.cc;h=0e1965fd315a478a292f3102c9ce7d2354ff6c0a;hb=941ca33da6ee01d78c07fa6b514de10da1ef3948;hp=3dd6d89786fe8deb2da9d7ce1b8447325faba43e;hpb=21be434729b552e31b856b2f42fc978062d0dd55;p=senf.git diff --git a/senf/Utils/Statistics.cc b/senf/Utils/Statistics.cc index 3dd6d89..0e1965f 100644 --- a/senf/Utils/Statistics.cc +++ b/senf/Utils/Statistics.cc @@ -155,7 +155,7 @@ prefix_ senf::Statistics::Statistics() #ifndef SENF_DISABLE_CONSOLE namespace fty = senf::console::factory; - dir.add("list", fty::Command(this,&Statistics::consoleList) + dir.add("list", fty::Command(&Statistics::consoleList, this) .doc("List statistics collection intervals and current values.\n" "\n" "Columns:\n" @@ -166,7 +166,7 @@ prefix_ senf::Statistics::Statistics() " AVG Last entered average value.\n" " DEV Standard deviation of average value over the collector rank.\n" " MAX Last entered maximum value.") ); - dir.add("collect", fty::Command(this, &Statistics::consoleCollect) + dir.add("collect", fty::Command(&Statistics::consoleCollect, this) .doc("Add statistics collection groups. The argument gives a sequence of collector\n" "ranks each building on the preceding collector:\n" "\n" @@ -181,7 +181,7 @@ prefix_ senf::Statistics::Statistics() "You may call collect multiple times. Any missing collection ranks will be\n" "added.") .arg("ranks","chain of collector ranks") ); - dir.add("output", fty::Command(this, &Statistics::consoleOutput) + dir.add("output", fty::Command(&Statistics::consoleOutput, this) .doc("Generate statistics output. This statement will add an additional output\n" "generator. This generator will be attached to the collector specified by\n" "the {rank} parameter. This parameter is a chain of successive rank values\n"