Searched refs:ProfileBuffer (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/lite/profiling/ |
D | profile_buffer_test.cc | 28 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()
|
D | profiler.h | 97 ProfileBuffer* GetProfileBuffer() { return &buffer_; } in GetProfileBuffer() 98 ProfileBuffer buffer_; 122 ProfileBuffer* buffer_; 147 ProfileBuffer* buffer_;
|
D | profile_buffer.h | 66 class ProfileBuffer { 68 ProfileBuffer(uint32_t max_num_entries, bool enabled) in ProfileBuffer() function
|
/external/compiler-rt/lib/profile/ |
D | InstrProfilingFile.c | 124 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()
|