[tor-commits] [arm/master] Moving ps resource usage lookups to a helper function