Author: ArcRiley
Date: 2007-07-07 09:43:57 -0400 (Sat, 07 Jul 2007)
New Revision: 405
Modified:
trunk/pysoy/src/textures/Video.pxi
Log:
oops, commenting out benchmarking lines
Modified: trunk/pysoy/src/textures/Video.pxi
===================================================================
--- trunk/pysoy/src/textures/Video.pxi 2007-07-07 13:42:48 UTC (rev 404)
+++ trunk/pysoy/src/textures/Video.pxi 2007-07-07 13:43:57 UTC (rev 405)
@@ -88,8 +88,8 @@
# yl/yc = yuv l/c offsets
#
# This can and should be optimized further
- gettimeofday(&_tv, NULL)
- _start = _tv.tv_sec + ( <double> _tv.tv_usec / 1000000.0 )
+ #gettimeofday(&_tv, NULL)
+ #_start = _tv.tv_sec + ( <double> _tv.tv_usec / 1000000.0 )
_cx = self._info.frame_width
_cy = self._info.frame_height
for y from 0 <= y < _cy :
@@ -119,8 +119,8 @@
self._texels[_tx ] = _pr
self._texels[_tx+1] = _pg
self._texels[_tx+2] = _pb
- gettimeofday(&_tv, NULL)
- stdio.printf('%f\n', (_tv.tv_sec + ( <double> _tv.tv_usec / 1000000.0
))- _start)
+ #gettimeofday(&_tv, NULL)
+ #stdio.printf('%f\n', (_tv.tv_sec + ( <double> _tv.tv_usec / 1000000.0
))- _start)
self._update = 1
return 1
_______________________________________________
PySoy-SVN mailing list
[email protected]
http://www.pysoy.org/mailman/listinfo/pysoy-svn