2 * Copyright (c) 1996 Barton P. Miller
4 * We provide the Paradyn Parallel Performance Tools (below
5 * described as Paradyn") on an AS IS basis, and do not warrant its
6 * validity or performance. We reserve the right to update, modify,
7 * or discontinue this software at any time. We shall have no
8 * obligation to supply such updates or modifications or any other
9 * form of support to you.
11 * This license is for research uses. For such uses, there is no
12 * charge. We define "research use" to mean you may freely use it
13 * inside your organization for whatever purposes you see fit. But you
14 * may not re-distribute Paradyn or parts of Paradyn, in any form
15 * source or binary (including derivatives), electronic or otherwise,
16 * to any other organization or entity without our permission.
18 * (for other uses, please contact us at paradyn@cs.wisc.edu)
20 * All warranties, including without limitation, any warranty of
21 * merchantability or fitness for a particular purpose, are hereby
24 * By your use of Paradyn, you understand and agree that we (or any
25 * other person or entity with proprietary rights in Paradyn) are
26 * under no obligation to provide either maintenance services,
27 * update services, notices of latent defects, or correction of
28 * defects for Paradyn.
30 * Even if advised of the possibility of such damages, under no
31 * circumstances shall we (or any other person or entity with
32 * proprietary rights in the software licensed hereunder) be liable
33 * to you or any third party for direct, indirect, or consequential
34 * damages of any character regardless of type of action, including,
35 * without limitation, loss of profits, loss of use, loss of good
36 * will, or computer failure or malfunction. You agree to indemnify
37 * us (and any other person or entity with proprietary rights in the
38 * software licensed hereunder) for any and all liability it may
39 * incur to third parties resulting from your use of Paradyn.
44 #pragma implementation "Dictionary.h"
45 #include "util/h/Dictionary.h"
47 #include "util/h/String.h"
49 #include "rtinst/h/rtinst.h"
50 #include "rtinst/h/trace.h"
51 #include "util/h/aggregateSample.h"
52 #include "dyninstAPI/src/symtab.h"
53 #include "dyninstAPI/src/process.h"
54 #include "dyninstAPI/src/inst.h"
55 #include "dyninstAPI/src/instP.h"
56 #include "dyninstAPI/src/dyninstP.h"
57 #include "paradynd/src/metric.h"
58 #include "dyninstAPI/src/ast.h"
59 #include "dyninstAPI/src/util.h"
60 #include "paradynd/src/internalMetrics.h"
61 #include "util/h/Object.h"
62 #include "dyninstAPI/src/sharedobject.h"
64 template class dictionary <const instPoint *, trampTemplate *>;
65 template class dictionary <const instPoint *, point *>;
66 template class dictionary_hash <const instPoint *, trampTemplate *>;
67 template class dictionary <instInstance *, instInstance *>;
68 template class dictionary_hash <instInstance *, instInstance *>;
69 template class dictionary_hash <Address, Symbol*>;
70 template class dictionary_hash<const instPoint*, point*>;
71 template class dictionary_hash <instPoint*, unsigned>;
72 template class dictionary_hash <string, Symbol>;
73 template class dictionary_hash <string, internalSym*>;
74 template class dictionary_hash <string, module *>;
75 template class dictionary_hash <string, pdFunction*>;
76 template class dictionary_hash <string, resource*>;
77 template class dictionary_hash <string, unsigned>;
78 template class dictionary_hash <string, vector<pdFunction*>*>;
79 template class dictionary_hash <unsigned, cpSample*>;
80 template class dictionary_hash <unsigned, heapItem*>;
81 template class dictionary_hash <unsigned, metricDefinitionNode*>;
82 template class dictionary_hash <string, metricDefinitionNode*>;
83 template class dictionary_hash <unsigned, pdFunction*>;
84 template class dictionary_hash <unsigned, resource *>;
85 template class dictionary_hash <unsigned, unsigned>;
86 template class dictionary_hash <unsigned, vector<mdl_type_desc> >;
87 template class dictionary <metricDefinitionNode*,metricDefinitionNode*>;
88 template class dictionary_hash <metricDefinitionNode*,metricDefinitionNode*>;
90 template class dictionary_iter<unsigned int, pdFunction *>;
91 template class dictionary_iter<unsigned int, metricDefinitionNode *>;
92 template class dictionary_iter<unsigned int, heapItem *>;
93 template class dictionary_iter<string, vector<pdFunction *> *>;
94 template class dictionary_iter<string, unsigned int>;
95 template class dictionary_iter<string, resource *>;
96 template class dictionary_iter<string, pdFunction *>;
97 template class dictionary_iter<string, module *>;
98 template class dictionary_iter<string, internalSym *>;
99 template class dictionary_iter<instPoint *, unsigned int>;
100 template class dictionary_iter<instPoint *, point *>;
101 template class dictionary_iter<const instPoint *, point *>;
102 template class dictionary_iter<unsigned int, Symbol *>;
105 template class dictionary_hash_iter <Address, Symbol*>;
106 template class dictionary_hash_iter <const instPoint*, point*>;
107 template class dictionary_hash_iter <instPoint*, unsigned>;
108 template class dictionary_hash_iter <string, Symbol>;
109 template class dictionary_hash_iter <string, internalSym*>;
110 template class dictionary_hash_iter <string, module *>;
111 template class dictionary_hash_iter <string, pdFunction*>;
112 template class dictionary_hash_iter <string, resource*>;
113 template class dictionary_hash_iter <string, unsigned>;
114 template class dictionary_hash_iter <string, vector<pdFunction*>*>;
115 template class dictionary_hash_iter <unsigned, heapItem*>;
116 template class dictionary_hash_iter <unsigned, metricDefinitionNode*>;
117 template class dictionary_hash_iter <unsigned, pdFunction*>;
118 template class vector<shared_object *> ;
120 /* ***************************************************************************** */
123 #include "fastInferiorHeap.C"
124 #include "fastInferiorHeapHKs.h"
125 template class vector<genericHK::trampRange>;
127 template class fastInferiorHeap<intCounterHK, intCounter>;
128 template class vector< fastInferiorHeap<intCounterHK, intCounter>::states >;
130 template class fastInferiorHeap<wallTimerHK, tTimer>;
131 template class vector< fastInferiorHeap<wallTimerHK, tTimer>::states >;
133 template class fastInferiorHeap<processTimerHK, tTimer>;
134 template class vector< fastInferiorHeap<processTimerHK, tTimer>::states >;
137 #include "util/src/vectorSet.C"
138 template class vectorSet<process::inferiorRPCtoDo>;
139 template class vectorSet<process::inferiorRPCinProgress>;
141 #include "fastInferiorHeapMgr.h"
142 template class vector<fastInferiorHeapMgr::oneHeapStats>;