Context is that James is working on making ntpq/sysstats (and friends) print
out the totals for counters as a second column next to the since-reset that it
currently prints. The current counters get reset if/when they are logged
hourly so ntpq can't see the big picture after the system has been
Hal Murray via devel writes:
> I want to keep track of the number of times a macro has been called. That
> seems like something that would happen often enough that there would be a
> standard recipe but I haven't seen it. (Or didn't recognize it.)
You seem to be asking for the non-portable __C
Is there any way to do something like
#define FOO $FOO+1
I want to keep track of the number of times a macro has been called. That
seems like something that would happen often enough that there would be a
standard recipe but I haven't seen it. (Or didn't recognize it.)
--
The conte