A resource usages analyzer