Count resources only at intervals.

By including inuse in resources, local_resources changes very rapidly,
and for each change the master receives a resource update.

This commit makes it so that resources are sent to the master at no less
than the resources interval.
Log on tag, not on cores.