[Freeciv-Dev] [patch #2434] Easy way to disable timing results from logs

2011-02-01 Thread Marko Lindqvist

Update of patch #2434 (project freeciv):

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


___

Reply to this item at:

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

___
  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 #2434] Easy way to disable timing results from logs

2011-01-31 Thread Marko Lindqvist

Follow-up Comment #3, patch #2434 (project freeciv):

- Also adding of timestamps to logline prefix depend on LOG_TIMERS

(file #12187)
___

Additional Item Attachment:

File name: LogTimers_2434-3.diff  Size:6 KB


___

Reply to this item at:

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

___
  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 #2434] Easy way to disable timing results from logs

2011-01-30 Thread Marko Lindqvist

Follow-up Comment #2, patch #2434 (project freeciv):

- Removed stuff that was not meant to this patch but was additionally added

(file #12178)
___

Additional Item Attachment:

File name: LogTimers_2434-2.diff  Size:13 KB


___

Reply to this item at:

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

___
  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 #2434] Easy way to disable timing results from logs

2011-01-29 Thread Matthias Pfafferodt

Follow-up Comment #1, patch #2434 (project freeciv):

Looks good - that about the time stamps in the log file? You would need to
change console.c:log_prefix() ...

___

Reply to this item at:

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

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #2434] Easy way to disable timing results from logs

2011-01-28 Thread Marko Lindqvist

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

 Summary: Easy way to disable timing results from logs
 Project: Freeciv
Submitted by: cazfi
Submitted on: Sat 29 Jan 2011 02:26:35 AM EET
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:

I have been debugging problems with autogame that should result in identical
savegames, in fact resulting in different savegames.
I have to find out where exactly execution starts to diverge. For that I have
run autogames with full (-d 4) logging and then compared logs of the
different runs to find first difference. Number of attempts to do that
resulted in logs full of differences that were not about different results.
That is: diffs were full of noise (and by full I mean tens of thousands of
lines...)
Biggest category of such differences in log files are timing loggings. If
execution of autosettlers takes one millisecond longer in second run than
first one, it's in diff.

Attached patch puts all such timing loggings behind one macro: LOG_TIMERS.
To disable all timing loggings, and thus to get more comparable logs, one
needs only to undefine this one macro.



___

File Attachments:


---
Date: Sat 29 Jan 2011 02:26:35 AM EET  Name: LogTimers.diff  Size: 15kB   By:
cazfi

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

___

Reply to this item at:

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

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


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