OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:HprofData
(Results
1 - 7
of
7
) sorted by null
/libcore/dalvik/src/main/java/dalvik/system/profiler/
AsciiHprofWriter.java
34
private final
HprofData
data;
40
public static void write(
HprofData
data, OutputStream outputStream) throws IOException {
44
private AsciiHprofWriter(
HprofData
data, OutputStream outputStream) {
50
for (
HprofData
.ThreadEvent e : data.getThreadHistory()) {
54
List<
HprofData
.Sample> samples
55
= new ArrayList<
HprofData
.Sample>(data.getSamples());
58
for (
HprofData
.Sample sample : samples) {
59
HprofData
.StackTrace stackTrace = sample.stackTrace;
76
for (
HprofData
.Sample sample : samples) {
78
HprofData
.StackTrace stackTrace = sample.stackTrace
[
all
...]
HprofBinaryToAscii.java
61
HprofData
hprofData
;
63
hprofData
= readHprof(file);
69
return write(
hprofData
);
72
HprofData
hprofData
;
74
hprofData
= readSnapshot(file);
80
return write(
hprofData
);
101
* Read and return an
HprofData
from a vanilla binary hprof file.
103
private static
HprofData
readHprof(File file) throws IOException
[
all
...]
SamplingProfiler.java
62
private final Map<
HprofData
.StackTrace, int[]> stackTraces
63
= new HashMap<
HprofData
.StackTrace, int[]>();
68
private final
HprofData
hprofData
= new
HprofData
(stackTraces);
123
private final
HprofData
.StackTrace mutableStackTrace = new
HprofData
.StackTrace();
160
hprofData
.setFlags(BinaryHprof.ControlSettings.CPU_SAMPLING.bitmask);
161
hprofData
.setDepth(depth);
284
hprofData
.setStartMillis(System.currentTimeMillis())
[
all
...]
BinaryHprofWriter.java
41
private final
HprofData
data;
47
public static void write(
HprofData
data, OutputStream outputStream) throws IOException {
51
private BinaryHprofWriter(
HprofData
data, OutputStream outputStream) {
62
for (
HprofData
.ThreadEvent event : data.getThreadHistory()) {
66
Set<
HprofData
.Sample> samples = data.getSamples();
68
for (
HprofData
.Sample sample : samples) {
98
private void writeThreadEvent(
HprofData
.ThreadEvent e) throws IOException {
110
private void writeStartThread(
HprofData
.ThreadEvent e) throws IOException {
125
private void writeStopThread(
HprofData
.ThreadEvent e) throws IOException {
177
private void writeCpuSamples(int totalSamples, Set<
HprofData
.Sample> samples
[
all
...]
BinaryHprofReader.java
58
private final Map<
HprofData
.StackTrace, int[]> stackTraces
59
= new HashMap<
HprofData
.StackTrace, int[]>();
61
private final
HprofData
hprofData
= new
HprofData
(stackTraces);
67
private final Map<Integer,
HprofData
.StackTrace> idToStackTrace
68
= new HashMap<Integer,
HprofData
.StackTrace>();
103
public
HprofData
getHprofData() {
105
return
hprofData
;
151
hprofData
.setStartMillis(time)
[
all
...]
HprofData.java
41
public final class
HprofData
{
267
* provided by the creator of the
HprofData
so only have
270
* users of the
HprofData
.
272
private final Map<
HprofData
.StackTrace, int[]> stackTraces;
274
public
HprofData
(Map<StackTrace, int[]> stackTraces) {
/libcore/dalvik/src/test/java/dalvik/system/profiler/
SamplingProfilerTest.java
22
import dalvik.system.profiler.
HprofData
.Sample;
23
import dalvik.system.profiler.
HprofData
.StackTrace;
24
import dalvik.system.profiler.
HprofData
.ThreadEvent;
25
import dalvik.system.profiler.
HprofData
;
85
new
HprofData
(null);
93
HprofData
hprofData
= new
HprofData
(stackTraces);
94
test_HprofData(
hprofData
, true);
99
HprofData
hprofData = new HprofData(stackTraces)
[
all
...]
Completed in 178 milliseconds