Commit 15697d64 authored by lorenm's avatar lorenm

remove a division from STOP_TIMER


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6315 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 20707565
...@@ -386,7 +386,7 @@ tend= read_time();\ ...@@ -386,7 +386,7 @@ tend= read_time();\
tcount++;\ tcount++;\
}else\ }else\
tskip_count++;\ tskip_count++;\
if(256*256*256*64%(tcount+tskip_count)==0){\ if(((tcount+tskip_count)&(tcount+tskip_count-1))==0){\
av_log(NULL, AV_LOG_DEBUG, "%"PRIu64" dezicycles in %s, %d runs, %d skips\n", tsum*10/tcount, id, tcount, tskip_count);\ av_log(NULL, AV_LOG_DEBUG, "%"PRIu64" dezicycles in %s, %d runs, %d skips\n", tsum*10/tcount, id, tcount, tskip_count);\
}\ }\
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment