MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Refresh

Method Refresh

Source/ThirdParty/tracy/client/TracyCallstack.cpp:182–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180 }
181
182 void Refresh()
183 {
184 m_updated = false;
185 dl_iterate_phdr( Callback, this );
186
187 if( m_updated )
188 {
189 std::sort( m_images.begin(), m_images.end(),
190 []( const ImageEntry& lhs, const ImageEntry& rhs ) { return lhs.m_startAddress > rhs.m_startAddress; } );
191
192 // patch the main executable image name here, as calling dl_* functions inside the dl_iterate_phdr callback might cause deadlocks
193 UpdateMainImageName();
194 }
195 }
196
197 void UpdateMainImageName()
198 {

Callers

nothing calls this directly

Calls 4

dl_iterate_phdrFunction · 0.85
sortFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected