Local Policies for Resource Usage Analysis