1 /* |
1 /* |
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
37 */ |
37 */ |
38 public void setSelectedProcess(ProcessInfo processInfo); |
38 public void setSelectedProcess(ProcessInfo processInfo); |
39 |
39 |
40 /** |
40 /** |
41 * returns the last selected process |
41 * returns the last selected process |
42 * @return |
42 * @return Selected process |
43 */ |
43 */ |
44 public ProcessInfo getSelectedProcess(); |
44 public ProcessInfo getSelectedProcess(); |
45 |
45 |
46 /** |
46 /** |
47 * get the start time of the process that started first |
47 * Get the start time of the process that started first |
48 * @return time |
48 * @return time |
49 */ |
49 */ |
50 public Long getFirstProcessTime(); |
50 public Long getFirstProcessTime(); |
51 |
51 |
52 /** |
52 /** |
53 * get end time of the process that ended last |
53 * Get end time of the process that ended last |
54 * @return |
54 * @return Last process time |
55 */ |
55 */ |
56 public Long getLastProcessTime(); |
56 public Long getLastProcessTime(); |
57 |
57 |
58 /** |
58 /** |
59 * get get first point time from all processes |
59 * Get time of the first memory operation |
60 * @return time |
60 * @return First memory operation time. |
61 */ |
61 */ |
62 public Long getFirstMemOpTime(); |
62 public Long getFirstMemOpTime(); |
63 |
63 |
64 /** |
64 /** |
65 * get last point time from all processes |
65 * Get last memory operation time from all processes |
66 * @return time |
66 * @return Last memory operation time. |
67 */ |
67 */ |
68 public Long getLastMemOpTime(); |
68 public Long getLastMemOpTime(); |
69 |
69 |
70 /** |
70 /** |
71 * get highest cumulated memory |
71 * get highest cumulated memory |
72 * @return size |
72 * @return size |
73 */ |
73 */ |
74 public int getHighestCumulatedMemoryAlloc(); |
74 public int getHighestCumulatedMemoryAlloc(); |
75 |
75 |
76 /** |
76 /** |
77 * get list of processes |
77 * Get list of processes |
78 * @return processes |
78 * @return processes list |
79 */ |
79 */ |
80 public AbstractList<ProcessInfo> getProcesses(); |
80 public AbstractList<ProcessInfo> getProcesses(); |
81 |
81 |
82 |
82 |
83 /** |
83 /** |
88 /** |
88 /** |
89 * @param listener the listener to remove |
89 * @param listener the listener to remove |
90 */ |
90 */ |
91 void removeListener(IMemoryActivityModelChangeListener listener); |
91 void removeListener(IMemoryActivityModelChangeListener listener); |
92 |
92 |
|
93 /** |
|
94 * Returns true if callstack reading from files is done on demand after the |
|
95 * initial parsing phase. This assumes file positions are available from |
|
96 * BaseInfo |
|
97 * @return true for deferred callstack reading, false otherwise |
|
98 */ |
|
99 public boolean isDeferredCallstackReading(); |
|
100 |
|
101 /** |
|
102 * Indicates whether this model is reading callstacks on demand |
|
103 * after the initial parsing phase has finished |
|
104 * @param value |
|
105 */ |
|
106 public void setDeferredCallstackReading(boolean value); |
|
107 |
|
108 /** |
|
109 * Setter for the ICallstackManager |
|
110 * @param callstackManager the CallstackManager to set |
|
111 */ |
|
112 public void setCallstackManager(ICallstackManager callstackManager); |
|
113 |
|
114 /** |
|
115 * Getter for ICallstackManager. |
|
116 * @return CallstackManager |
|
117 */ |
|
118 public ICallstackManager getCallstackManager(); |
|
119 |
93 } |
120 } |