History

Remove duplicate fps/downloads PROFILE_COUNTER

Ryan Huffman committed 9 years ago

Commit ce9f8be1 parent 9d4fdfa1 file · +0 −4Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+0−4
@@ -3411,10 +3411,6 @@ void Application::idle(float nsecsElapsed) { · 3410 unmodified lines
3411 static std::once_flag once;3411 static std::once_flag once;
3412 std::call_once(once, [] {3412 std::call_once(once, [] {
3413 initCpuUsage(); 3413 initCpuUsage();
3414 PROFILE_COUNTER(app, "fps", { { "fps", _frameCounter.rate() } });
3415 PROFILE_COUNTER(app, "downloads", {
3416 { "current", ResourceCache::getLoadingRequests().length() },
3417 { "pending", ResourceCache::getPendingRequestCount() }
3418 });3414 });
3419 3415
3420 vec3 kernelUserAndSystem;3416 vec3 kernelUserAndSystem;