Function grind_init
Defined in File grind.h
Function Documentation
-
struct grinder *grind_init(struct grinder *grind_in, const struct grind_params *const params)
Initialize a grinder for statistics collection.
This function initializes the statistics global data structure to gather statistics on all stat instances encountered during execution.
- Parameters:
rb_in – An application allocated handle for the grinder. Can be NULL, depending on if RCSW_NOALLOC_HANDLE is passed in grind_params::flags.
- Returns:
The initialized grinder, or NULL if an error occurred.