Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Philippe SWARTVAGHER
memory-contention
Commits
ef574907
Commit
ef574907
authored
Dec 01, 2021
by
Philippe SWARTVAGHER
Browse files
Adjust parameters for memset when throughput is measured
parent
0ebcfb6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/openmp_memset.c
View file @
ef574907
...
...
@@ -15,7 +15,7 @@
#define MEMSET_TYPE int
#define NB_ITER 3
#define THROUGHPUT_DURATION
15
00000 //
1.5
sec
#define THROUGHPUT_DURATION
30
00000 //
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment