File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ add_executable(thr_hello thr_hello.c)
21
21
target_compile_options (thr_hello PRIVATE -pthread)
22
22
target_link_libraries (thr_hello pthread)
23
23
24
- # add_executable(nweb23 nweb23.c)
25
- # target_compile_options(nweb23 PRIVATE -pthread)
26
- # target_link_libraries(nweb23 pthread)
24
+ add_executable (nweb23 nweb23.c)
25
+ target_compile_options (nweb23 PRIVATE -pthread)
26
+ target_link_libraries (nweb23 pthread)
27
27
28
28
add_executable (hello-tcp hello-tcp.c)
29
29
Original file line number Diff line number Diff line change 10
10
#endif
11
11
12
12
#ifndef NUM_ITER
13
- #define NUM_ITER 10000
13
+ #define NUM_ITER 1000
14
14
#endif
15
15
16
16
#ifndef SIZE
17
- #define SIZE 16384
17
+ #define SIZE 16*1024
18
18
#endif
19
19
20
20
__thread void * buf ;
Original file line number Diff line number Diff line change 4
4
#include <malloc.h>
5
5
6
6
#ifndef NUM_ITER
7
- #define NUM_ITER 100000
7
+ #define NUM_ITER 10000
8
8
#endif
9
9
10
10
#ifndef SIZE
You can’t perform that action at this time.
0 commit comments