[Freeciv-Dev] [patch #2791] CPUHog

2011-07-24 Thread Marko Lindqvist

Update of patch #2791 (project freeciv):

  Status:  Ready For Test = Done   
 Assigned to:None = cazfi  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/patch/?2791

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #2791] CPUHog

2011-07-11 Thread Marko Lindqvist

URL:
  http://gna.org/patch/?2791

 Summary: CPUHog
 Project: Freeciv
Submitted by: cazfi
Submitted on: Tue 12 Jul 2011 01:30:06 AM EEST
Category: general
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.4.0

___

Details:

To save some CPU-cycles AI does not always calculate everything but uses good
enough existing values from different caches etc. I often find AI's bad
performance much worse problem than running out of CPU-cycles.
This patch adds some stuff to implement CPU-hog AI that hopefully performs a
bit better at the cost of using much more computing resources. In this initial
version only max number of cm-iterations is increased for CPU-hogs.
This patch makes it only easier to make CPU-hog version of freeciv. One
cannot change ai behavior runtime, but it still requires code change. CPU-hog
framework just makes that required code change one-liner. See comments in
player.h for full rationale.




___

File Attachments:


---
Date: Tue 12 Jul 2011 01:30:07 AM EEST  Name: CPUHog.diff  Size: 2kB   By:
cazfi

http://gna.org/patch/download.php?file_id=13527

___

Reply to this item at:

  http://gna.org/patch/?2791

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev