mirror of
https://github.com/overte-org/overte.git
synced 2025-08-16 17:13:02 +02:00
Add script_udpate_rate to trace
This commit is contained in:
parent
f2638637f7
commit
e181c2a16e
1 changed files with 4 additions and 0 deletions
|
@ -3411,6 +3411,10 @@ void Application::idle(float nsecsElapsed) {
|
|||
static std::once_flag once;
|
||||
std::call_once(once, [] {
|
||||
initCpuUsage();
|
||||
PROFILE_COUNTER(app, "fps", { { "fps", _frameCounter.rate() } });
|
||||
PROFILE_COUNTER(app, "downloads", {
|
||||
{ "current", ResourceCache::getLoadingRequests().length() },
|
||||
{ "pending", ResourceCache::getPendingRequestCount() }
|
||||
});
|
||||
|
||||
vec3 kernelUserAndSystem;
|
||||
|
|
Loading…
Reference in a new issue