comparison chipsetsw/riviera/rvt/ti_profiler/ti_profiler_env.h @ 0:509db1a7b7b8

initial import: leo2moko-r1
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 03:24:05 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:509db1a7b7b8
1 /*******************************************************************************
2 *
3 * ti_profiler_env.c
4 *
5 * This module interfaces the environment and contains all start/init/stop...
6 * functions of the TI profiler.
7 *
8 * (C) Texas Instruments, all rights reserved
9 *
10 * Version number : 0.1
11 *
12 * History : 0.1 (7/30/2001) - Created
13 *
14 * Date : 7/30/2001
15 *
16 * Author : Philippe Martinez,
17 *
18 ******************************************************************************/
19
20 #ifndef __TI_PROFILER_ENV_H__
21 #define __TI_PROFILER_ENV_H__
22
23 #include "rvm/rvm_gen.h"
24
25 #include "ti_prf_pool_size.h" /* Stack & Memory Bank sizes definitions */
26
27 #define TI_PROFILER_TASK_STACK_SIZE TI_PRF_STACK_SIZE
28
29 #define TI_PROFILER_MB_SIZE TI_PRF_MB1_SIZE
30 #define TI_PROFILER_MB_WATERMARK TI_PROFILER_MB_SIZE
31
32 #define TI_PROFILER_MAILBOX RVF_TASK_MBOX_0
33 #define TI_PROFILER_TASK_PRIORITY 255
34
35 T_RVM_RETURN
36 ti_prf_get_info (T_RVM_INFO_SWE *p_info_swe);
37
38
39 T_RVM_RETURN
40 ti_prf_set_info(T_RVF_ADDR_ID addr_id,
41 T_RV_RETURN_PATH return_path[],
42 T_RVF_MB_ID bk_id[],
43 T_RVM_RETURN (*rvm_error_ft)(T_RVM_NAME swe_name,
44 T_RVM_RETURN error_cause,
45 T_RVM_ERROR_TYPE error_type,
46 T_RVM_STRING error_msg));
47
48 T_RVM_RETURN
49 ti_prf_env_init (void);
50
51 T_RVM_RETURN
52 ti_prf_env_stop (void);
53
54 T_RVM_RETURN
55 ti_prf_kill (void);
56
57
58 #endif /* __TI_PROFILER_ENV_H__ */