1 #ifndef __NVIF_IF0002_H__ 2 #define __NVIF_IF0002_H__ 3 4 #define NVIF_PERFMON_V0_QUERY_DOMAIN 0x00 5 #define NVIF_PERFMON_V0_QUERY_SIGNAL 0x01 6 #define NVIF_PERFMON_V0_QUERY_SOURCE 0x02 7 8 struct nvif_perfmon_query_domain_v0 { 9 __u8 version; 10 __u8 id; 11 __u8 counter_nr; 12 __u8 iter; 13 __u16 signal_nr; 14 __u8 pad05[2]; 15 char name[64]; 16 }; 17 18 struct nvif_perfmon_query_signal_v0 { 19 __u8 version; 20 __u8 domain; 21 __u16 iter; 22 __u8 signal; 23 __u8 source_nr; 24 __u8 pad05[2]; 25 char name[64]; 26 }; 27 28 struct nvif_perfmon_query_source_v0 { 29 __u8 version; 30 __u8 domain; 31 __u8 signal; 32 __u8 iter; 33 __u8 pad04[4]; 34 __u32 source; 35 __u32 mask; 36 char name[64]; 37 }; 38 #endif 39