Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/profiling/
Dprofile_buffer_test.cc28 std::vector<const ProfileEvent*> GetProfileEvents(const ProfileBuffer& buffer) { in GetProfileEvents()
37 ProfileBuffer buffer(/*max_size*/ 0, /*enabled*/ true); in TEST()
42 ProfileBuffer buffer(/*max_size*/ 10, /*enabled*/ true); in TEST()
63 ProfileBuffer buffer{max_size, true}; in TEST()
81 ProfileBuffer buffer(/*max_size*/ 10, /*enabled*/ false); in TEST()
Dprofiler.h97 ProfileBuffer* GetProfileBuffer() { return &buffer_; } in GetProfileBuffer()
98 ProfileBuffer buffer_;
122 ProfileBuffer* buffer_;
147 ProfileBuffer* buffer_;
Dprofile_buffer.h66 class ProfileBuffer {
68 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()