sysperfana/perfinvestigator/com.nokia.carbide.cpp.pi.graphicsmemory/src/com/nokia/carbide/cpp/pi/graphicsmemory/GraphicsMemorySampleByTime.java
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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.pi.graphicsmemory; |
|
19 |
|
20 import java.util.ArrayList; |
|
21 |
|
22 public class GraphicsMemorySampleByTime { |
|
23 private long time; |
|
24 private ArrayList<GraphicsMemorySample> samples; |
|
25 private long totalMemory; |
|
26 private long usedMemory; |
|
27 |
|
28 public GraphicsMemorySampleByTime(long time, long totalMemory, |
|
29 long usedMemory) { |
|
30 this.time = time; |
|
31 this.totalMemory = totalMemory; |
|
32 this.usedMemory = usedMemory; |
|
33 this.samples = new ArrayList<GraphicsMemorySample>(); |
|
34 } |
|
35 |
|
36 public ArrayList<GraphicsMemorySample> getSamples() { |
|
37 return this.samples; |
|
38 } |
|
39 |
|
40 public long getTime() { |
|
41 return this.time; |
|
42 } |
|
43 |
|
44 public long getTotalMemory() { |
|
45 return this.totalMemory; |
|
46 } |
|
47 |
|
48 public long getUsedMemory() { |
|
49 return this.usedMemory; |
|
50 } |
|
51 } |