mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 10:43:45 +02:00
Fix stat tracker missing in agents
This commit is contained in:
parent
122a70cbb2
commit
bfc4a6e038
4 changed files with 4 additions and 10 deletions
|
@ -38,6 +38,7 @@
|
||||||
#include "AssignmentClientLogging.h"
|
#include "AssignmentClientLogging.h"
|
||||||
#include "avatars/ScriptableAvatar.h"
|
#include "avatars/ScriptableAvatar.h"
|
||||||
#include <Trace.h>
|
#include <Trace.h>
|
||||||
|
#include <StatTracker.h>
|
||||||
|
|
||||||
const QString ASSIGNMENT_CLIENT_TARGET_NAME = "assignment-client";
|
const QString ASSIGNMENT_CLIENT_TARGET_NAME = "assignment-client";
|
||||||
const long long ASSIGNMENT_REQUEST_INTERVAL_MSECS = 1 * 1000;
|
const long long ASSIGNMENT_REQUEST_INTERVAL_MSECS = 1 * 1000;
|
||||||
|
@ -50,6 +51,7 @@ AssignmentClient::AssignmentClient(Assignment::Type requestAssignmentType, QStri
|
||||||
LogUtils::init();
|
LogUtils::init();
|
||||||
|
|
||||||
DependencyManager::set<tracing::Tracer>();
|
DependencyManager::set<tracing::Tracer>();
|
||||||
|
DependencyManager::set<StatTracker>();
|
||||||
DependencyManager::set<AccountManager>();
|
DependencyManager::set<AccountManager>();
|
||||||
|
|
||||||
auto scriptableAvatar = DependencyManager::set<ScriptableAvatar>();
|
auto scriptableAvatar = DependencyManager::set<ScriptableAvatar>();
|
||||||
|
|
|
@ -44,6 +44,7 @@
|
||||||
#include "DomainServerNodeData.h"
|
#include "DomainServerNodeData.h"
|
||||||
#include "NodeConnectionData.h"
|
#include "NodeConnectionData.h"
|
||||||
#include <Trace.h>
|
#include <Trace.h>
|
||||||
|
#include <StatTracker.h>
|
||||||
|
|
||||||
int const DomainServer::EXIT_CODE_REBOOT = 234923;
|
int const DomainServer::EXIT_CODE_REBOOT = 234923;
|
||||||
|
|
||||||
|
@ -75,6 +76,7 @@ DomainServer::DomainServer(int argc, char* argv[]) :
|
||||||
parseCommandLine();
|
parseCommandLine();
|
||||||
|
|
||||||
DependencyManager::set<tracing::Tracer>();
|
DependencyManager::set<tracing::Tracer>();
|
||||||
|
DependencyManager::set<StatTracker>();
|
||||||
|
|
||||||
LogUtils::init();
|
LogUtils::init();
|
||||||
Setting::init();
|
Setting::init();
|
||||||
|
|
|
@ -3313,7 +3313,6 @@ bool Application::shouldPaint(float nsecsElapsed) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Application::idle(float nsecsElapsed) {
|
void Application::idle(float nsecsElapsed) {
|
||||||
PROFILE_RANGE(interfaceapp, __FUNCTION__);
|
|
||||||
PerformanceTimer perfTimer("idle");
|
PerformanceTimer perfTimer("idle");
|
||||||
|
|
||||||
// Update the deadlock watchdog
|
// Update the deadlock watchdog
|
||||||
|
@ -4682,11 +4681,6 @@ QRect Application::getDesirableApplicationGeometry() const {
|
||||||
// or the "myCamera".
|
// or the "myCamera".
|
||||||
//
|
//
|
||||||
void Application::loadViewFrustum(Camera& camera, ViewFrustum& viewFrustum) {
|
void Application::loadViewFrustum(Camera& camera, ViewFrustum& viewFrustum) {
|
||||||
<<<<<<< HEAD
|
|
||||||
PROFILE_RANGE(interfaceapp, __FUNCTION__);
|
|
||||||
PerformanceTimer perfTimer("loadViewFrustum");
|
|
||||||
=======
|
|
||||||
>>>>>>> tracing polish
|
|
||||||
// We will use these below, from either the camera or head vectors calculated above
|
// We will use these below, from either the camera or head vectors calculated above
|
||||||
viewFrustum.setProjection(camera.getProjection());
|
viewFrustum.setProjection(camera.getProjection());
|
||||||
|
|
||||||
|
|
|
@ -20,10 +20,6 @@ Q_LOGGING_CATEGORY(trace_simulation, "trace.simulation")
|
||||||
Q_LOGGING_CATEGORY(trace_simulation_animation, "trace.simulation.animation")
|
Q_LOGGING_CATEGORY(trace_simulation_animation, "trace.simulation.animation")
|
||||||
Q_LOGGING_CATEGORY(trace_simulation_physics, "trace.simulation.physics")
|
Q_LOGGING_CATEGORY(trace_simulation_physics, "trace.simulation.physics")
|
||||||
|
|
||||||
void foo() {
|
|
||||||
randFloat();
|
|
||||||
}
|
|
||||||
|
|
||||||
#if defined(NSIGHT_FOUND)
|
#if defined(NSIGHT_FOUND)
|
||||||
#include "nvToolsExt.h"
|
#include "nvToolsExt.h"
|
||||||
#define NSIGHT_TRACING
|
#define NSIGHT_TRACING
|
||||||
|
|
Loading…
Reference in a new issue