Module darkplaces: Change committed

havoc at icculus.org havoc at icculus.org
Tue Apr 25 02:14:54 EDT 2006


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2006-04-25 06:14:54 UTC

Log message:

significant optimizations to the progs interpreter, changed the runaway loop counter to only count jump instructions (if/ifnot/goto), and redesigned the profile counting to use pointer math on batches of instructions instead of counting each instruction individually
changed prvm_profile report to show callcount before statements and builtincost, changed the sorting order to use summed callcount+statements+builtincost (and this made it print call counts for builtin functions as well)

Modified files:
     prvm_exec.c prvm_execprogram.h
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20060425.061454.havoc.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20060425/7c31698a/attachment.diff>


More information about the twilight-commits mailing list