Skip to content

Instantly share code, notes, and snippets.

@SungJJinKang
SungJJinKang / adreno-perfcounter.c
Created September 14, 2022 16:18 — forked from antiagainst/adreno-perfcounter.c
Adreno Perf Counter Queries
#include <fcntl.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <sys/ioctl.h>
#include <unistd.h>
#define ADRENO_IOC_TYPE 0x09
#define ADRENO_PERFCOUNTER_GROUP_SP 0xA