Subversion Repositories public iLand

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
705 4593d 18h werner /trunk/src/ series of performance tests / modifications.
Using "valgrind" on the linux virtual machine, some performance
measurements were made.
Some candidates for optimization were tested. (1) the applyLIP()
function (about 30% of total run time in runYear()): here several
inlining options were tested; testing the value of the stamp before
using it (in order to omit the other steps) prooved to be slower than
unsing all stamp values.
(2) the random number generator; here the random number generation is
about 5% of the total run time; the commit contains two/three other
variants.
 
671 4644d 22h werner /trunk/src/ Necessary changes for GPL licence (i.e. headers in all source files)  
639 4805d 20h werner / move current content to the "trunk"  
615 4864d 23h werner /src/ removed windows specific _isnan() calls  
443 5124d 02h werner /src/ problems with multihtreading and the random generator. Crashes revealed that the MersenneTwister class is not multithreadable; The solution now is to have for each Thread in the thread pool one random number generator. This removes the crashes, but makes changes to the code necessary.  
431 5151d 16h werner /src/ included the logLevel-Functions at several locations in the source code.
added a option to only display debug messages in the DebugTimer destructor when elapsed time is longer than one millisecond.
 
349 5246d 00h werner /src/ tested behavior of irandom(from, to). It is clear now, that results are [from, to], i.e. the upper value is also returned. Be careful when using for querying an index for a list/vector.  
289 5371d 12h werner /src/ random - things: added the Picus random-helper-classes (RandomIndex, CustomRandomPDF, ...).
added a 3rd party Mersenne-Twister-Random-Generator (added a 3rdparty) directory.
 
287 5372d 11h werner /src/ Tree initialization (random variant). works almost...  
285 5374d 06h werner /src/core/ loading of the landscape. added "areaMask.imageFile" to "world" in xml file. This loads a image mask that establishes area that are inside and outside the project area respectively.  
216 5393d 13h werner /src/ created a more sophisticated management routine using javascript.  
210 5394d 19h werner /src/ class "Sun", added "site"-varaibles to the project file.  
187 5401d 06h iland /src/ wow. Ressource is correctly spelled as Resource. I jerk.  
186 5401d 11h werner /src/ management 1st version running  
157 5412d 12h werner /src/ cleaning of memory after trees died; this had some impacts on AllTreeIterator and some other places.
added a "Tests" class to combine some simple tests.
 
130 5417d 14h Werner /src/ moved debugDataTable to GlobalSettings...  
117 5423d 11h Werner /src/ new debug macros (which are compiled to NOOP in release mode)  
102 5425d 18h Werner /src/ * added a global XML-node of the project file to GlobalSettings (each setup() routine has access to that)
* loading of stamps for each species.
 
93 5426d 13h Werner /src/ XmlHelper class, the first real test-case for that, some thinking about how to setup the whole system.  
91 5426d 18h Werner /src/ started implementation of SpeciesSet; this includes lots of tinkering around with global functions, Database-connections and that like.  
87 5427d 17h Werner /src/ GlobalSettings Object, reading of global settings meta data, GlobalSettings is a Singleton.  
83 5428d 17h Werner /src/ new structure  
80 5428d 18h Werner / change master structure  
39 5477d 12h Werner /fonstudio/ implementing the application of gridded binary stamps.  
33 5479d 12h Werner /fonstudio/ general handling of stamps. This includes:
* StampContainer class. encapsulates internal storage, fast access, read/write functions to binary streams
* factory-approach for creation of stamps with different size. This can be used to use specific looping routines depending on stamp size.
 
32 5479d 19h Werner /fonstudio/ grid: average() function, more const access operators.
LightRoom: mod. mode of setup (now setup with metric length instead of pixelcount),
fixed "addition of angles" bug.
added generation of "subpixel" stamps.
 
24 5484d 17h Werner /fonstudio/ added global.h (RAD(), GRAD()), some adaptations for hemigrid.
continued implementation of lightroom.