Searched refs:dataFp (Results 1 – 2 of 2) sorted by relevance
/art/tools/dmtracedump/ |
D | createtesttrace.cc | 329 void writeDataRecord(FILE* dataFp, int32_t threadId, uint32_t methodVal, uint32_t elapsedTime) { in writeDataRecord() argument 331 putc(threadId, dataFp); in writeDataRecord() 333 write2LE(dataFp, threadId); in writeDataRecord() 334 write4LE(dataFp, methodVal); in writeDataRecord() 335 write4LE(dataFp, elapsedTime); in writeDataRecord() 338 void writeDataHeader(FILE* dataFp) { in writeDataHeader() argument 346 write4LE(dataFp, header.magic); in writeDataHeader() 347 write2LE(dataFp, header.version); in writeDataHeader() 348 write2LE(dataFp, header.offsetToData); in writeDataHeader() 349 write8LE(dataFp, startTime); in writeDataHeader() [all …]
|
D | tracedump.cc | 999 int32_t readDataRecord(FILE* dataFp, DataHeader* dataHeader, int32_t* threadId, in readDataRecord() argument 1004 id = getc(dataFp); in readDataRecord() 1007 id = read2LE(dataFp); in readDataRecord() 1013 *methodVal = read4LE(dataFp); in readDataRecord() 1014 *elapsedTime = read4LE(dataFp); in readDataRecord() 1018 getc(dataFp); in readDataRecord() 1021 if (feof(dataFp)) { in readDataRecord() 1049 FILE* dataFp = fopen(gOptions.traceFileName, "rb"); in dumpTrace() local 1050 if (dataFp == nullptr) return; in dumpTrace() 1052 DataKeys* pKeys = parseKeys(dataFp, 1); in dumpTrace() [all …]
|