comparison gsm-fw/nucleus/profiler.h @ 143:afceeeb2cba1

Our nuc-fw is destined to become gsm-fw, so I went ahead and did the big hg mv
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 12 Nov 2013 05:35:48 +0000
parents nuc-fw/nucleus/profiler.h@947b1f473960
children
comparison
equal deleted inserted replaced
142:15d5977390c2 143:afceeeb2cba1
1
2 /*************************************************************************/
3 /* */
4 /* Copyright Mentor Graphics Corporation 2002 */
5 /* All Rights Reserved. */
6 /* */
7 /* THIS WORK CONTAINS TRADE SECRET AND PROPRIETARY INFORMATION WHICH IS */
8 /* THE PROPERTY OF MENTOR GRAPHICS CORPORATION OR ITS LICENSORS AND IS */
9 /* SUBJECT TO LICENSE TERMS. */
10 /* */
11 /*************************************************************************/
12
13 /*************************************************************************/
14 /* */
15 /* FILE NAME VERSION */
16 /* */
17 /* profiler.h Nucleus PLUS 1.14 */
18 /* */
19 /* COMPONENT */
20 /* */
21 /* PROFILER - Profiler Management */
22 /* */
23 /* DESCRIPTION */
24 /* */
25 /* This file links Nucleus PLUS to optional profiling modules. */
26 /* */
27 /* DATA STRUCTURES */
28 /* */
29 /* NU_Profiler Eliminates compiler warnings */
30 /* */
31 /* FUNCTIONS */
32 /* */
33 /* None */
34 /* */
35 /* DEPENDENCIES */
36 /* */
37 /* rtprofil.h ProView */
38 /* nucprof.h ProView */
39 /* rtlib.h ProView */
40 /* */
41 /* HISTORY */
42 /* */
43 /* DATE REMARKS */
44 /* */
45 /* 11-07-2002 Released version 1.14 */
46 /*************************************************************************/
47
48 #ifndef PROFILE_H
49 #define PROFILE_H
50
51 /* The INCLUDE_PROVIEW macro enables the Nucleus ProView profiler in the
52 Nucleus PLUS kernel. When PLUS is built with this macro defined, all
53 applications linked with PLUS must also be linked with the SurroundView
54 Agent library. Refer to the SurroundView chapter in the port notes for
55 more details. */
56
57 #undef INCLUDE_PROVIEW
58
59 #ifdef INCLUDE_PROVIEW
60
61 #include "plus\sm_defs.h"
62 #include "plus\qu_defs.h"
63 #include "plus\mb_defs.h"
64 #include "plus\dm_defs.h"
65 #include "plus\pi_defs.h"
66 #include "plus\pm_defs.h"
67 #include "plus\ev_defs.h"
68 #include "plus\tm_defs.h"
69 #include "plus\tc_defs.h"
70
71 #include "svagent\inc\rtprofil.h"
72 #include "svagent\inc\nuc_prof.h"
73
74 #ifndef PLUS
75 #define PLUS
76 #endif
77
78 #include "svagent\inc\rtlib.h"
79
80 VOID _RTProf_TaskStatus(TC_TCB*, unsigned char);
81 VOID _RTProf_Dispatch_LISR_No_INT_Lock(int);
82 VOID _RTProf_RegisterLisr(int);
83 VOID _RTProf_DumpTask(TC_TCB*, unsigned char);
84 VOID _RTProf_DumpHisr(TC_HCB*, unsigned char);
85 VOID _RTProf_DumpSema(unsigned char, SM_SCB*, unsigned char);
86 VOID _RTProf_DumpQueue(unsigned char,QU_QCB*, unsigned char );
87 VOID _RTProf_DumpMailBox(unsigned char, MB_MCB*, unsigned char );
88 VOID _RTProf_DumpMemoryPool(unsigned char, DM_PCB*, unsigned char );
89 VOID _RTProf_DumpPipe(unsigned char, PI_PCB*, unsigned char );
90 VOID _RTProf_DumpPartitionPool(unsigned char, PM_PCB*, unsigned char );
91 VOID _RTProf_DumpEventGroup(unsigned char, EV_GCB*, unsigned char );
92 VOID _RTProf_DumpTimer(unsigned char, TM_APP_TCB*, unsigned char );
93 VOID _RTProf_DumpDriver(unsigned char, NU_DRIVER*, unsigned char );
94 VOID RTprofUserEvent(rt_uint32, char *);
95
96 #endif /* INCLUDE_PROVIEW */
97
98 #endif /* PROFILE_H */
99
100