| 82 | }; |
| 83 | |
| 84 | int64_t DeviceMemoryStatCurrentValue(const std::string& stat_type, int dev_id) { |
| 85 | return StatRegistry::GetInstance()->GetCurrentValue("Device" + stat_type, |
| 86 | dev_id); |
| 87 | } |
| 88 | |
| 89 | int64_t DeviceMemoryStatPeakValue(const std::string& stat_type, int dev_id) { |
| 90 | return StatRegistry::GetInstance()->GetPeakValue("Device" + stat_type, |