Still gives me compile errors, at the same place as before:cami wrote:Updated the patch. Runs stable on my machine.
Code: Select all
c:\freeorion_vs2010_sdk\freeorion\universe\RunQueue.tcc(35): error C2780: 'const _Ty &std::min(const _Ty &,const _Ty &,_Pr)' : expects 3 arguments - 2 provided
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xutility(2113) : see declaration of 'std::min'
c:\freeorion_vs2010_sdk\freeorion\universe\RunQueue.tcc(19) : while compiling class template member function 'void ThreadQueue<WorkItem>::operator ()(void)'
with
[
WorkItem=`anonymous-namespace'::StoreTargetsAndCausesOfEffectsGroupsWorkItem
]
C:\FreeOrion_VS2010_SDK\Boost\include\boost_1_51\boost/smart_ptr/detail/shared_count.hpp(95) : see reference to function template instantiation 'void boost::checked_delete<Y>(T *)' being compiled
with
[
Y=ThreadQueue<`anonymous-namespace'::StoreTargetsAndCausesOfEffectsGroupsWorkItem>,
T=ThreadQueue<`anonymous-namespace'::StoreTargetsAndCausesOfEffectsGroupsWorkItem>
]
C:\FreeOrion_VS2010_SDK\Boost\include\boost_1_51\boost/smart_ptr/shared_ptr.hpp(184) : see reference to function template instantiation 'boost::detail::shared_count::shared_count<Y>(Y *)' being compiled
with
[
Y=ThreadQueue<`anonymous-namespace'::StoreTargetsAndCausesOfEffectsGroupsWorkItem>
]
c:\freeorion_vs2010_sdk\freeorion\universe\RunQueue.tcc(61) : see reference to function template instantiation 'boost::shared_ptr<T>::shared_ptr<ThreadQueue<WorkItem>>(Y *)' being compiled
with
[
T=ThreadQueue<`anonymous-namespace'::StoreTargetsAndCausesOfEffectsGroupsWorkItem>,
WorkItem=`anonymous-namespace'::StoreTargetsAndCausesOfEffectsGroupsWorkItem,
Y=ThreadQueue<`anonymous-namespace'::StoreTargetsAndCausesOfEffectsGroupsWorkItem>
]
c:\freeorion_vs2010_sdk\freeorion\universe\RunQueue.tcc(49) : while compiling class template member function 'RunQueue<WorkItem>::RunQueue(unsigned int)'
with
[
WorkItem=`anonymous-namespace'::StoreTargetsAndCausesOfEffectsGroupsWorkItem
]
..\..\universe\Universe.cpp(1469) : see reference to class template instantiation 'RunQueue<WorkItem>' being compiled
with
[
WorkItem=`anonymous-namespace'::StoreTargetsAndCausesOfEffectsGroupsWorkItem
]
c:\freeorion_vs2010_sdk\freeorion\universe\RunQueue.tcc(35): error C2782: 'const _Ty &std::min(const _Ty &,const _Ty &)' : template parameter '_Ty' is ambiguous
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xutility(2105) : see declaration of 'std::min'
could be 'volatile unsigned int'
or 'unsigned int'
As noted above, it was default settings, so 6 AIs. In the SVN version, the AIs seem to play their turns in about 1 second at the start of a game. A randomly selected AI timing log is:Dilvish wrote:Hmm, without knowing how many AIs you had in that game & how it compares to without the patch...Geoff the Medio wrote:Most turns, I hit the turn button an have to wait ~15 seconds for the AIs to finish playing with my turn button greyed out. During that time, various AI clients are using > 25% CPU. I don't think it's limited by the human client CPU use, which is generally at 25% or less doing single-threaded rending of the map.
Code: Select all
2013-12-26 13:58:38,248 DEBUG AI : AI Module Time Requirements:
2013-12-26 13:58:38,248 DEBUG AI : PriorityAI: 32 msec
2013-12-26 13:58:38,248 DEBUG AI : ExplorationAI: 1 msec
2013-12-26 13:58:38,249 DEBUG AI : ColonisationAI: 1 msec
2013-12-26 13:58:38,249 DEBUG AI : InvasionAI: 0 msec
2013-12-26 13:58:38,249 DEBUG AI : MilitaryAI: 0 msec
2013-12-26 13:58:38,249 DEBUG AI : Gen_Fleet_Orders: 6 msec
2013-12-26 13:58:38,249 DEBUG AI : Issue_Fleet_Orders: 3 msec
2013-12-26 13:58:38,249 DEBUG AI : ResearchAI: 5 msec
2013-12-26 13:58:38,249 DEBUG AI : ProductionAI: 39 msec
2013-12-26 13:58:38,249 DEBUG AI : ResourcesAI: 0 msec
2013-12-26 13:58:38,249 DEBUG AI : Cleanup: 0 msec
2013-12-26 13:58:38,249 DEBUG AI : AIInterface::DoneTurn()
2013-12-26 13:58:38,249 DEBUG AI : PythonAI::GenerateOrders order generating time: 134