Tweaks
This commit is contained in:
@@ -16,11 +16,12 @@ class AssetsCache;
|
||||
API_STRUCT() struct FLAXENGINE_API ContentStats
|
||||
{
|
||||
DECLARE_SCRIPTING_TYPE_MINIMAL(ContentStats);
|
||||
|
||||
// Amount of asset objects in memory.
|
||||
API_FIELD() int32 AssetsCount = 0;
|
||||
// Amount of loaded assets.
|
||||
API_FIELD() int32 LoadedAssetsCount = 0;
|
||||
// Amount of loading assets.
|
||||
// Amount of loading assets. Zero if all assets are loaded in.
|
||||
API_FIELD() int32 LoadingAssetsCount = 0;
|
||||
// Amount of virtual assets (don't have representation in file).
|
||||
API_FIELD() int32 VirtualAssetsCount = 0;
|
||||
|
||||
@@ -57,7 +57,8 @@ void ProfilingToolsService::Update()
|
||||
for (int32 i = 0; i < threads.Count(); i++)
|
||||
{
|
||||
auto t = threads[i];
|
||||
|
||||
if (t == nullptr)
|
||||
continue;
|
||||
ProfilingTools::ThreadStats* pt = nullptr;
|
||||
for (auto& e : ProfilingTools::EventsCPU)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user