A class to monitor GPU usage.