OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:datafp
(Results
1 - 2
of
2
) sorted by null
/art/tools/dmtracedump/
createtesttrace.cc
329
void writeDataRecord(FILE*
dataFp
, int32_t threadId, uint32_t methodVal, uint32_t elapsedTime) {
331
putc(threadId,
dataFp
);
333
write2LE(
dataFp
, threadId);
334
write4LE(
dataFp
, methodVal);
335
write4LE(
dataFp
, elapsedTime);
338
void writeDataHeader(FILE*
dataFp
) {
346
write4LE(
dataFp
, header.magic);
347
write2LE(
dataFp
, header.version);
348
write2LE(
dataFp
, header.offsetToData);
349
write8LE(
dataFp
, startTime)
[
all
...]
tracedump.cc
995
int32_t readDataRecord(FILE*
dataFp
, DataHeader* dataHeader, int32_t* threadId,
1000
id = getc(
dataFp
);
1003
id = read2LE(
dataFp
);
1009
*methodVal = read4LE(
dataFp
);
1010
*elapsedTime = read4LE(
dataFp
);
1014
getc(
dataFp
);
1017
if (feof(
dataFp
)) {
1045
FILE*
dataFp
= fopen(gOptions.traceFileName, "rb");
1046
if (
dataFp
== nullptr) return;
1048
DataKeys* pKeys = parseKeys(
dataFp
, 1)
[
all
...]
Completed in 101 milliseconds