1 /* Copyright (C) 2021 Free Software Foundation, Inc.
4 This file is part of GNU Binutils.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3, or (at your option)
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, 51 Franklin Street - Fifth Floor, Boston,
19 MA 02110-1301, USA. */
21 #ifndef _PERFAN_ENUMS_H
22 #define _PERFAN_ENUMS_H
51 { // sync enum changes with Settings.java
52 MET_NORMAL
= 0, // functions, lines, pcs; src & disasm (non-compare)
53 MET_CALL
, // callers-callees
54 MET_DATA
, // dataspace
55 MET_INDX
, // index objects
56 MET_CALL_AGR
, // call tree
57 MET_COMMON
, // Analyzer uses for DSP_DISASM, DSP_SOURCE, ...
58 MET_IO
, // IO activity
59 MET_SRCDIS
, // src & disasm (non comparison mode)
60 MET_HEAP
// Heap leaked list
64 { // Bitmask (!) sync enum changes with AnMetric.java
65 VAL_NA
= 0, // nothing specified (use this enum instead of 0)
72 VAL_HIDE_ALL
= 64 // hide all, but allows settings to be remembered
76 { // no value here can be the same as CCMV_
77 COMP_SRC
= CCMV_BASIC
+ 1,
89 TLSTACK_ALIGN_ROOT
= 1,
116 enum Presentation_align_type
131 enum Presentation_clock_unit
138 enum FuncListDisp_type
145 DSP_SELF
= 6, // not a tab; ID for Callers-Callees fragment data
147 DSP_CALLEE
= 8, // not a tab; ID for Callers-Callees callees data
153 DSP_MEMOBJ
= 14, // requires a specific subtype to define a tab
156 DSP_SRC_FILE
= 17, // not a tab; Details information (?)
159 DSP_INDXOBJ
= 20, // requires a specific subtype to define a tab
161 DSP_SOURCE_DISASM
= 22,
165 //DSP_TIMELINE_CLASSIC_TBR = 26,
166 DSP_SOURCE_V2
= 27, // comparison
167 DSP_DISASM_V2
= 28, // comparison
168 //DSP_THREADS_TL = 29;
169 //DSP_THREADS_CHART = 30;
173 DSP_IOCALLSTACK
= 34,
175 DSP_HEAPCALLSTACK
= 39,
192 PM_DELIM_SEP_LIST
= 2