Home
last modified time | relevance | path

Searched refs:ProfileBuffer (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/lite/profiling/
Dprofile_buffer_test.cc29 std::vector<const ProfileEvent*> GetProfileEvents(const ProfileBuffer& buffer) { in GetProfileEvents()
38 ProfileBuffer buffer(/*max_size*/ 0, /*enabled*/ true); in TEST()
43 ProfileBuffer buffer(/*max_size*/ 10, /*enabled*/ true); in TEST()
64 ProfileBuffer buffer(/*max_size*/ 10, /*enabled*/ true); in TEST()
87 ProfileBuffer buffer{max_size, true}; in TEST()
105 ProfileBuffer buffer(/*max_size*/ 10, /*enabled*/ false); in TEST()
Dbuffered_profiler.h126 ProfileBuffer* GetProfileBuffer() { return &buffer_; } in GetProfileBuffer()
127 ProfileBuffer buffer_;
Dprofile_buffer.h63 class ProfileBuffer {
65 ProfileBuffer(uint32_t max_num_entries, bool enabled) in ProfileBuffer() function
/external/compiler-rt/lib/profile/
DInstrProfilingFile.c124 char *ProfileBuffer; in doProfileMerging() local
148 ProfileBuffer = mmap(NULL, ProfileFileSize, PROT_READ, MAP_SHARED | MAP_FILE, in doProfileMerging()
150 if (ProfileBuffer == MAP_FAILED) { in doProfileMerging()
156 if (__llvm_profile_check_compatibility(ProfileBuffer, ProfileFileSize)) { in doProfileMerging()
157 (void)munmap(ProfileBuffer, ProfileFileSize); in doProfileMerging()
164 __llvm_profile_merge_from_buffer(ProfileBuffer, ProfileFileSize); in doProfileMerging()
165 (void)munmap(ProfileBuffer, ProfileFileSize); in doProfileMerging()
/external/llvm-project/compiler-rt/lib/profile/
DInstrProfilingFile.c222 char **ProfileBuffer) { in mmapProfileForMerging() argument
223 *ProfileBuffer = mmap(NULL, ProfileFileSize, PROT_READ, MAP_SHARED | MAP_FILE, in mmapProfileForMerging()
225 if (*ProfileBuffer == MAP_FAILED) { in mmapProfileForMerging()
231 if (__llvm_profile_check_compatibility(*ProfileBuffer, ProfileFileSize)) { in mmapProfileForMerging()
232 (void)munmap(*ProfileBuffer, ProfileFileSize); in mmapProfileForMerging()
247 char *ProfileBuffer; in doProfileMerging() local
259 if (mmapProfileForMerging(ProfileFile, ProfileFileSize, &ProfileBuffer) == -1) in doProfileMerging()
263 __llvm_profile_merge_from_buffer(ProfileBuffer, ProfileFileSize); in doProfileMerging()
269 (void)munmap(ProfileBuffer, ProfileFileSize); in doProfileMerging()
632 char *ProfileBuffer; in initializeProfileForContinuousMode() local
[all …]
/external/llvm-project/compiler-rt/lib/xray/
Dxray_profile_collector.cpp35 struct ProfileBuffer { struct
88 using ProfileBufferArray = Array<ProfileBuffer>;
197 static void serializeRecords(ProfileBuffer *Buffer, const BlockHeader &Header, in serializeRecords()