Update life_perf_device.py