brintos

brintos / linux-shallow public Read only

0
0
Text · 753 B · d919a2f Raw
36 lines · c
1/* SPDX-License-Identifier: GPL-2.0+ */2/*3 * Copyright (C) 2024 Raspberry Pi4 */5#ifndef V3D_PERFORMANCE_COUNTERS_H6#define V3D_PERFORMANCE_COUNTERS_H7 8/* Holds a description of a given performance counter. The index of performance9 * counter is given by the array on v3d_performance_counter.h10 */11struct v3d_perf_counter_desc {12	/* Category of the counter */13	char category[32];14 15	/* Name of the counter */16	char name[64];17 18	/* Description of the counter */19	char description[256];20};21 22struct v3d_perfmon_info {23	/*24	 * Different revisions of V3D have different total number of25	 * performance counters.26	 */27	unsigned int max_counters;28 29	/*30	 * Array of counters valid for the platform.31	 */32	const struct v3d_perf_counter_desc *counters;33};34 35#endif36