/*
 * Metrics for nvidia GPU PMDA
 *
 * Copyright (c) 2014,2019,2021 Red Hat.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation; either version 2 of the License, or (at your
 * option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 * for more details.
 */

nvidia {
    numcards			NVML:0:0
    gpuid			NVML:0:1
    cardname			NVML:0:2
    busid			NVML:0:3
    temperature			NVML:0:4
    fanspeed			NVML:0:5
    perfstate			NVML:0:6
    gpuactive			NVML:0:7
    memactive			NVML:0:8
    memused			NVML:0:9
    memtotal			NVML:0:10
    memfree			NVML:0:11
    carduuid			NVML:0:19
    energy			NVML:0:20
    power			NVML:0:21
    nprocs			NVML:0:22
    samples			NVML:0:23
    gpuutilaccum		NVML:0:24
    memutilaccum		NVML:0:25
    memusedaccum		NVML:0:26
    proc
}

nvidia.proc {
    samples			NVML:1:12
    memused			NVML:1:13
    memaccum			NVML:1:14
    gpuactive			NVML:1:15
    memactive			NVML:1:16
    time			NVML:1:17
    running			NVML:1:18
    all
    compute
    graphics
}

nvidia.proc.all {
    samples			NVML:2:0
    memused			NVML:2:1
    memaccum			NVML:2:2
    gpuactive			NVML:2:3
    memactive			NVML:2:4
    time			NVML:2:5
    running			NVML:2:6
    gpulist			NVML:2:7
    ngpus			NVML:2:8
}

nvidia.proc.compute {
    samples			NVML:3:0
    memused			NVML:3:1
    memaccum			NVML:3:2
    gpuactive			NVML:3:3
    memactive			NVML:3:4
    time			NVML:3:5
    running			NVML:3:6
    gpulist			NVML:3:7
    ngpus			NVML:3:8
}

nvidia.proc.graphics {
    samples			NVML:4:0
    memused			NVML:4:1
    memaccum			NVML:4:2
    gpuactive			NVML:4:3
    memactive			NVML:4:4
    time			NVML:4:5
    running			NVML:4:6
    gpulist			NVML:4:7
    ngpus			NVML:4:8
}
