Commit ef574907 authored by Philippe SWARTVAGHER's avatar Philippe SWARTVAGHER
Browse files

Adjust parameters for memset when throughput is measured

parent 0ebcfb6e
......@@ -15,7 +15,7 @@
#define MEMSET_TYPE int
#define NB_ITER 3
#define THROUGHPUT_DURATION 1500000 // 1.5 sec
#define THROUGHPUT_DURATION 3000000 // 3 sec
static MEMSET_TYPE **a;
static int array_size;
......@@ -44,7 +44,7 @@ static void memset_set_comm_bench_ended_ptr(volatile int* _comm_bench_ended)
static int memset_get_nb_runs(enum comm_bench_type comm_bench_type)
{
return 20;
return measure_throughput ? 3 : 20;
}
static inline double time_to_bw(double t) // microsec
......
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