Add more profiling events

This commit is contained in:
Wojtek Figat
2023-12-14 17:00:55 +01:00
parent d7b17ae0a6
commit df8418da25
2 changed files with 9 additions and 1 deletions

View File

@@ -1305,6 +1305,8 @@ FileReadStream* FlaxStorage::OpenFile()
bool FlaxStorage::CloseFileHandles()
{
PROFILE_CPU();
// Note: this is usually called by the content manager when this file is not used or on exit
// In those situations all the async tasks using this storage should be cancelled externally