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"
60 #include "internalMetrics.h"
61 #include "util/h/Object.h"
62 #include "sharedobject.h"
64 template class dictionary <instPoint *, trampTemplate *>;
65 template class dictionary_hash <instPoint *, trampTemplate *>;
66 template class dictionary <instInstance *, instInstance *>;
67 template class dictionary_hash <instInstance *, instInstance *>;
68 template class dictionary_hash <Address, Symbol*>;
69 template class dictionary_hash <instPoint*, point*>;
70 template class dictionary_hash <instPoint*, unsigned>;
71 template class dictionary_hash <string, Symbol>;
72 template class dictionary_hash <string, internalSym*>;
73 template class dictionary_hash <string, module *>;
74 template class dictionary_hash <string, pdFunction*>;
75 template class dictionary_hash <string, resource*>;
76 template class dictionary_hash <string, unsigned>;
77 template class dictionary_hash <string, vector<pdFunction*>*>;
78 template class dictionary_hash <unsigned, cpSample*>;
79 template class dictionary_hash <unsigned, heapItem*>;
80 template class dictionary_hash <unsigned, metricDefinitionNode*>;
81 template class dictionary_hash <string, metricDefinitionNode*>;
82 template class dictionary_hash <unsigned, pdFunction*>;
83 template class dictionary_hash <unsigned, resource *>;
84 template class dictionary_hash <unsigned, unsigned>;
85 template class dictionary_hash <unsigned, vector<mdl_type_desc> >;
87 template class dictionary_iter<unsigned int, pdFunction *>;
88 template class dictionary_iter<unsigned int, metricDefinitionNode *>;
89 template class dictionary_iter<unsigned int, heapItem *>;
90 template class dictionary_iter<string, vector<pdFunction *> *>;
91 template class dictionary_iter<string, unsigned int>;
92 template class dictionary_iter<string, resource *>;
93 template class dictionary_iter<string, pdFunction *>;
94 template class dictionary_iter<string, module *>;
95 template class dictionary_iter<string, internalSym *>;
96 template class dictionary_iter<instPoint *, unsigned int>;
97 template class dictionary_iter<instPoint *, point *>;
98 template class dictionary_iter<unsigned int, Symbol *>;
101 template class dictionary_hash_iter <Address, Symbol*>;
102 template class dictionary_hash_iter <instPoint*, point*>;
103 template class dictionary_hash_iter <instPoint*, unsigned>;
104 template class dictionary_hash_iter <string, Symbol>;
105 template class dictionary_hash_iter <string, internalSym*>;
106 template class dictionary_hash_iter <string, module *>;
107 template class dictionary_hash_iter <string, pdFunction*>;
108 template class dictionary_hash_iter <string, resource*>;
109 template class dictionary_hash_iter <string, unsigned>;
110 template class dictionary_hash_iter <string, vector<pdFunction*>*>;
111 template class dictionary_hash_iter <unsigned, heapItem*>;
112 template class dictionary_hash_iter <unsigned, metricDefinitionNode*>;
113 template class dictionary_hash_iter <unsigned, pdFunction*>;
114 template class vector<shared_object *> ;
116 #ifdef paradyndCM5_blizzard
117 //=============================added by zxu for sampleNodes
118 #include "util/h/sys.h"
119 #include "rtinst/h/trace.h"
120 #include "../../paradyndCM5_blizzard/src/sample_nodes.h"
122 //template class vector<unsigned> ;
123 template class vector<time64> ;
124 //template class vector<sampleValue> ;
125 template class vector<stamped_sample> ;
126 template class vector<per_node_buffer> ;
127 template class dictionary_hash <unsigned, sampleVec *> ;
128 template class dictionary_hash <unsigned, traceHeaderVec *> ;
129 template class dictionary_hash_iter<unsigned, sampleVec *> ;
130 template class dictionary_hash_iter<unsigned, per_mid_buffer *> ;
131 template class dictionary_hash<unsigned, per_mid_buffer *>;