1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

Update lib/hooks/stats.cpp

This commit is contained in:
Steffen Vogel 2021-04-28 13:15:01 +00:00
parent a401555c93
commit 91cdf355a2

View file

@ -228,9 +228,9 @@ public:
stats = std::make_shared<villas::Stats>(buckets, warmup);
/* Register statistic object to path.
/* Register statistic object to node.
*
* This allows the path code to update statistics. */
* This allows the node code to update statistics. */
if (node)
node->stats = stats;
@ -278,7 +278,7 @@ Hook::Reason StatsReadHook::process(sample *smp)
/* Register hook */
static char n[] = "stats";
static char d[] = "Collect statistics for the current path";
static char d[] = "Collect statistics for the current node";
static HookPlugin<StatsHook, n, d, (int) Hook::Flags::NODE_READ> p;
} /* namespace node */