|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 package com.nokia.carbide.cpp.internal.pi.visual; |
|
19 |
|
20 public class Defines { |
|
21 |
|
22 |
|
23 // what to show, based on the ordering of tables |
|
24 // used as drawing mode and for determining table order |
|
25 // The last item in a name is what is shown in the graph. |
|
26 // E.g., THREADS_FUNCTIONS means show functions that match |
|
27 // the selected threads in the selected graph area. |
|
28 |
|
29 // Threads |
|
30 public static final int THREADS = 1; |
|
31 // Threads -> Functions |
|
32 public static final int THREADS_FUNCTIONS = 2; |
|
33 // Threads -> Functions -> Binaries |
|
34 public static final int THREADS_FUNCTIONS_BINARIES = 3; |
|
35 // Threads -> Binaries |
|
36 public static final int THREADS_BINARIES = 4; |
|
37 // Threads -> Binaries -> Functions |
|
38 public static final int THREADS_BINARIES_FUNCTIONS = 5; |
|
39 // Binaries |
|
40 public static final int BINARIES = 6; |
|
41 // Binaries -> Threads |
|
42 public static final int BINARIES_THREADS = 7; |
|
43 // Binaries -> Threads -> Functions |
|
44 public static final int BINARIES_THREADS_FUNCTIONS = 8; |
|
45 // Binaries -> Functions |
|
46 public static final int BINARIES_FUNCTIONS = 9; |
|
47 // Binaries -> Functions -> Threads |
|
48 public static final int BINARIES_FUNCTIONS_THREADS = 10; |
|
49 // Functions |
|
50 public static final int FUNCTIONS = 11; |
|
51 // Functions -> Threads |
|
52 public static final int FUNCTIONS_THREADS = 12; |
|
53 // Functions -> Threads -> Binaries |
|
54 public static final int FUNCTIONS_THREADS_BINARIES = 13; |
|
55 // Functions -> Binaries |
|
56 public static final int FUNCTIONS_BINARIES = 14; |
|
57 // Functions -> Binaries -> Threads |
|
58 public static final int FUNCTIONS_BINARIES_THREADS = 15; |
|
59 |
|
60 // In function analysis there are no graphs. Functions to |
|
61 // examine are chosen by selecting threads then binaries, |
|
62 // or binaries then threads. |
|
63 |
|
64 // In function analysis: Threads -> Binaries -> Functions |
|
65 public static final int ANALYSIS_THREADS_BINARIES = 101; |
|
66 // In function analysis: Binaries -> Threads -> Functions |
|
67 public static final int ANALYSIS_BINARIES_THREADS = 102; |
|
68 } |