Dear all,

I would like to compare the performance of a number of (problem- specific) distribution strategies with a set of constraint problems and with different settings (e.g., different recomputation settings). I am interested in computation time (wall time) and memory consumption.

Because I will end up with quite a lot of test cases to measure, I would like to automate this process. Is there a recommended way for doing such measurements?

Concerning runtime measurements, I plan to use the following function. DO you see any problems with this strait-forward approach?

/** %% Returns the time (in msecs) the application of P (a null- ary procedure) took.
   %% */
   fun {TimeSpend P}
      Start End
   in
      Start = {Property.get 'time.total'}
      {P}
      End = {Property.get 'time.total'}
      End - Start
   end


My problem is that I don't know how I can test the memory consumption automatically. I know about the Profiler, but as far as I can tell from its documentation the Profiler is indented only for interactive use, not for automatic measurements.

Any other ideas?

Thank you very much!

Best
Torsten

--
Torsten Anders
Interdisciplinary Centre for Computer Music Research
University of Plymouth
Office: +44-1752-233667
Private: +44-1752-558917
http://strasheela.sourceforge.net
http://www.torsten-anders.de




_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to