fuuuuuuu why won't you properly profile, you did previously?

This commit is contained in:
DarthArgus
2017-01-13 10:42:44 -06:00
parent b4b4c4d602
commit cf8416ff95
5 changed files with 17 additions and 0 deletions

View File

@@ -61,6 +61,10 @@ int main(int argc, char ** argv)
NetworkHandler::remove();
SetupSharedFoundation::remove();
SetupSharedThread::remove();
#ifdef ENABLE_PROFILING
exit(0);
#endif
return 0;
}

View File

@@ -74,5 +74,9 @@ int main(int argc, char ** argv)
SetupSharedFoundation::remove();
SetupSharedThread::remove();
#ifdef ENABLE_PROFILING
exit(0);
#endif
return 0;
}

View File

@@ -79,6 +79,7 @@ bool AggroListPropertyNamespace::canAttackTarget(TangibleObject const & attacker
{
//LOGC(AiLogManager::isLogging(attacker), "debug_ai", ("AggroListPropertyNamespace::canAttackTarget() attacker(%s) target(%s) Target is feigning death", attacker.getDebugInformation().c_str(), target.getDebugInformation().c_str()));
result = false;
}
else if (isInPlayerBuilding(target))
{

View File

@@ -80,5 +80,9 @@ int main(int argc, char ** argv)
SetupSharedFoundation::remove();
SetupSharedThread::remove();
#ifdef ENABLE_PROFILING
exit(0);
#endif
return 0;
}

View File

@@ -142,6 +142,10 @@ int main(int argc, char ** argv)
SetupSharedFoundation::remove();
SetupSharedThread::remove ();
#ifdef ENABLE_PROFILING
exit(0);
#endif
return 0;
}