This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 8f4f3a7b7468d37f6ec87395223cd6a2dbf49953
tree 843f9435574f0341b87d78d39dcdb9e9ce39e475
parent 794ebf76b2f1a49f1c7fa629049fcfeee13583e5
tree 843f9435574f0341b87d78d39dcdb9e9ce39e475
parent 794ebf76b2f1a49f1c7fa629049fcfeee13583e5
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Thu Nov 08 14:24:42 -0800 2007 | |
| |
LICENSE | Thu Sep 27 15:58:08 -0700 2007 | |
| |
README | Thu Nov 08 14:53:01 -0800 2007 | |
| |
examples/ | Thu Sep 27 15:58:08 -0700 2007 | |
| |
qscriptprofiler.pro | Thu Nov 08 14:24:42 -0800 2007 | |
| |
screenshots/ | Thu Nov 08 14:24:42 -0800 2007 | |
| |
src/ | Thu Nov 08 14:25:01 -0800 2007 |
README
qscriptprofiler is a profiler for QtScript (a Javascript language that is part of Qt) qscriptprofiler runs with script files as arguments that are each executed in the order they are passed. At the end it will generate a callgrind file that can be loaded in KCachegrind. KCachegrind is a very good visual tool for profile data. qscriptprofiler uses gettimeofday() to determine how long something takes so there is the possibility that it isn't completly accurate if your system is under heavy load. The profiler can be used in other projects and a pri file is included. QSProfiler uses the QScriptEngineAgent which is part of Qt 4.4 and greater (As of this writing 4.4 isn't released, but you can down snapshots) For more information about kcachegrind go here: http://kcachegrind.sourceforge.net/cgi-bin/show.cgi For more information about QtScript go here: http://doc.trolltech.com/4/qtscript.html TO BUILD: --- qmake make An example is included which is the traveling salsman problem as solved with a genetic algorithm. To run it do the following: ./qscriptprofiler examples/javascriptgeneticalgorithm.js examples/travelingsalesman.js - Benjamin Meyer







