My Project
mali_kbase_profiling_gator_api.h
Go to the documentation of this file.
1 /*
2  *
3  * (C) COPYRIGHT 2010, 2013 ARM Limited. All rights reserved.
4  *
5  * This program is free software and is provided to you under the terms of the
6  * GNU General Public License version 2 as published by the Free Software
7  * Foundation, and any use by you of this program is subject to the terms
8  * of such GNU licence.
9  *
10  * A copy of the licence is included with the program, and can also be obtained
11  * from Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
12  * Boston, MA 02110-1301, USA.
13  *
14  */
15 
16 
17 
23 #ifndef _KBASE_PROFILING_GATOR_API_H_
24 #define _KBASE_PROFILING_GATOR_API_H_
25 
26 /*
27  * List of possible actions to be controlled by Streamline.
28  * The following numbers are used by gator to control
29  * the frame buffer dumping and s/w counter reporting.
30  */
31 #define FBDUMP_CONTROL_ENABLE (1)
32 #define FBDUMP_CONTROL_RATE (2)
33 #define SW_COUNTER_ENABLE (3)
34 #define FBDUMP_CONTROL_RESIZE_FACTOR (4)
35 #define FBDUMP_CONTROL_MAX (5)
36 #define FBDUMP_CONTROL_MIN FBDUMP_CONTROL_ENABLE
37 
38 void _mali_profiling_control(u32 action, u32 value);
39 
40 #endif /* _KBASE_PROFILING_GATOR_API */