Re: Proposed changes to sys/stats

2016-02-16 Thread Christopher Collins
Thanks for the feedback, all. I will commit the first three changes to the develop branch, but leave proposal 4 unimplemented. Chris On Tue, Feb 16, 2016 at 01:35:16PM -0800, will sanfilippo wrote: > +1 for 1, 2 and 3. > > Not sure about 4. I am fine with using the macros and prefacing the

Re: Proposed changes to sys/stats

2016-02-16 Thread Sterling Hughes
1. The STATS_SECT_START and STATS_SECT_END macros just define a struct; they don't create an instance. Generally, these macros would be used in a header file so that source files can have access to the struct definition. 2. The addition of a STATS_SECT_DECL macro. This macro would be used in