[x265] [PATCH] REPORT_SPEEDUP: correct the description
praveen at multicorewareinc.com
praveen at multicorewareinc.com
Thu Nov 1 14:17:55 CET 2018
# HG changeset patch
# User Praveen Tiwari <praveen at multicorewareinc.com>
# Date 1541078260 -19800
# Thu Nov 01 18:47:40 2018 +0530
# Branch stable
# Node ID 26b4debfab1af7d5e080902b700d6124fafa8ebd
# Parent 471726d3a0462739ff8e3518eb1a1e8a01de4e8d
REPORT_SPEEDUP: correct the description
diff -r 471726d3a046 -r 26b4debfab1a source/test/testharness.h
--- a/source/test/testharness.h Wed Oct 31 16:35:48 2018 +0530
+++ b/source/test/testharness.h Thu Nov 01 18:47:40 2018 +0530
@@ -93,9 +93,9 @@
#define BENCH_RUNS 2000
-// Adapted from checkasm.c, runs each optimized primitive four times, measures rdtsc
-// and discards invalid times. Repeats 1000 times to get a good average. Then measures
-// the C reference with fewer runs and reports X factor and average cycles.
+/* Adapted from checkasm.c, runs each optimized primitive four times, measures rdtsc
+ * and discards invalid times. Repeats BENCH_RUNS times to get a good average.
+ * Then measures the C reference with BENCH_RUNS / 4 runs and reports X factor and average cycles.*/
#define REPORT_SPEEDUP(RUNOPT, RUNREF, ...) \
{ \
uint32_t cycles = 0; int runs = 0; \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x265.patch
Type: text/x-patch
Size: 1155 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20181101/8658a4cd/attachment.bin>
More information about the x265-devel
mailing list