FreeCalypso > hg > ffs-editor
comparison src/nucleus/profiler.h @ 0:92470e5d0b9e
src: partial import from FC Selenite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 15 May 2020 01:28:16 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:92470e5d0b9e |
---|---|
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 |