Add constants for resource usage bookkeeping.
Add a stub function for resource bookkeeping.
Store window stats in the ring buffer.