OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:threadNb
(Results
1 - 25
of
28
) sorted by null
1
2
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/
tirpc_svc_reg_mt.c
90
int
threadNb
= atoi(argc[3]);
100
printf("Thread to create %d\n",
threadNb
);
104
thread_array_result = malloc(
threadNb
* sizeof(int));
105
memset(&thread_array_result[0], 0,
threadNb
* sizeof(int));
109
pThreadArray = malloc(
threadNb
* sizeof(pthread_t));
110
for (i = 0; i <
threadNb
; i++) {
121
for (i = 0; i <
threadNb
; i++) {
127
for (i = 0; i <
threadNb
; i++) {
135
for (i = 0; i <
threadNb
; i++) {
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/
tirpc_rpc_broadcast_mt.c
91
int
threadNb
= atoi(argc[3]);
102
printf("Thread to create %d\n",
threadNb
);
106
thread_array_result = malloc(
threadNb
* sizeof(int));
107
memset(&thread_array_result[0], 0,
threadNb
* sizeof(int));
111
pThreadArray = malloc(
threadNb
* sizeof(pthread_t));
112
for (i = 0; i <
threadNb
; i++) {
123
for (i = 0; i <
threadNb
; i++) {
129
for (i = 0; i <
threadNb
; i++) {
137
for (i = 0; i <
threadNb
; i++) {
tirpc_rpc_broadcast_scalability.c
92
int
threadNb
= atoi((char *)argc[3]);
113
maxThd = maxThd << (
threadNb
- 1); //Set the maximum threads number
121
fprintf(stderr, "Instances : %d\n",
threadNb
);
130
thread_time_result = malloc((
threadNb
) * sizeof(double));
131
memset(&thread_time_result[0], (double)0, (
threadNb
) * sizeof(double));
137
for (i = 0; i <
threadNb
; i++) {
180
for (i = 0; i <
threadNb
; i++) {
193
for (i = 0; i <
threadNb
; i++) {
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/
tirpc_rpc_broadcast_exp_mt.c
94
int
threadNb
= atoi(argc[3]);
105
printf("Thread to create %d\n",
threadNb
);
109
thread_array_result = malloc(
threadNb
* sizeof(int));
110
memset(&thread_array_result[0], 0,
threadNb
* sizeof(int));
114
pThreadArray = malloc(
threadNb
* sizeof(pthread_t));
115
for (i = 0; i <
threadNb
; i++) {
126
for (i = 0; i <
threadNb
; i++) {
132
for (i = 0; i <
threadNb
; i++) {
140
for (i = 0; i <
threadNb
; i++) {
tirpc_rpc_broadcast_exp_scalability.c
92
int
threadNb
= atoi((char *)argc[3]);
113
maxThd = maxThd << (
threadNb
- 1); //Set the maximum threads number
121
fprintf(stderr, "Instances : %d\n",
threadNb
);
130
thread_time_result = malloc((
threadNb
) * sizeof(double));
131
memset(&thread_time_result[0], (double)0, (
threadNb
) * sizeof(double));
137
for (i = 0; i <
threadNb
; i++) {
180
for (i = 0; i <
threadNb
; i++) {
193
for (i = 0; i <
threadNb
; i++) {
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/
tirpc_rpc_reg_mt.c
95
int
threadNb
= atoi(argc[3]);
106
printf("Number of threads : %d\n",
threadNb
);
110
thread_array_result = malloc(
threadNb
* sizeof(int));
111
memset(&thread_array_result[0], 0,
threadNb
* sizeof(int));
115
pThreadArray = malloc(
threadNb
* sizeof(pthread_t));
116
for (i = 0; i <
threadNb
; i++) {
127
for (i = 0; i <
threadNb
; i++) {
133
for (i = 0; i <
threadNb
; i++) {
141
for (i = 0; i <
threadNb
; i++) {
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/
tirpc_rpc_call_complex.c
115
int
threadNb
= atoi(argc[3]);
123
resTbl = malloc(
threadNb
* sizeof(struct RES));
129
printf("Thread to create %d\n",
threadNb
);
133
thread_array_result = malloc(
threadNb
* sizeof(int));
134
memset(&thread_array_result[0], 0,
threadNb
* sizeof(int));
138
pThreadArray = malloc(
threadNb
* sizeof(pthread_t));
139
for (i = 0; i <
threadNb
; i++) {
150
for (i = 0; i <
threadNb
; i++) {
156
for (i = 0; i <
threadNb
; i++) {
164
for (i = 0; i <
threadNb
; i++)
[
all
...]
tirpc_rpc_call_mt.c
90
int
threadNb
= atoi(argc[3]);
102
printf("Thread to create %d\n",
threadNb
);
106
thread_array_result = malloc(
threadNb
* sizeof(int));
107
memset(&thread_array_result[0], 0,
threadNb
* sizeof(int));
111
pThreadArray = malloc(
threadNb
* sizeof(pthread_t));
112
for (i = 0; i <
threadNb
; i++) {
123
for (i = 0; i <
threadNb
; i++) {
129
for (i = 0; i <
threadNb
; i++) {
137
for (i = 0; i <
threadNb
; i++) {
tirpc_rpc_call_scalability.c
85
int
threadNb
= atoi((char *)argc[3]);
106
maxThd = maxThd << (
threadNb
- 1); //Set the maximum threads number
114
fprintf(stderr, "Instances : %d\n",
threadNb
);
123
thread_time_result = malloc((
threadNb
) * sizeof(double));
124
memset(&thread_time_result[0], (double)0, (
threadNb
) * sizeof(double));
130
for (i = 0; i <
threadNb
; i++) {
173
for (i = 0; i <
threadNb
; i++) {
186
for (i = 0; i <
threadNb
; i++) {
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/
tirpc_bottomlevel_clnt_call_mt.c
126
int
threadNb
= atoi(argc[3]);
137
printf("Thread to create %d\n",
threadNb
);
141
thread_array_result = malloc(
threadNb
* sizeof(int));
142
memset(&thread_array_result[0], 0,
threadNb
* sizeof(int));
146
pThreadArray = malloc(
threadNb
* sizeof(pthread_t));
147
for (i = 0; i <
threadNb
; i++) {
158
for (i = 0; i <
threadNb
; i++) {
164
for (i = 0; i <
threadNb
; i++) {
172
for (i = 0; i <
threadNb
; i++) {
tirpc_bottomlevel_clnt_call_complex.c
156
int
threadNb
= atoi(argc[3]);
164
resTbl = malloc(
threadNb
* sizeof(struct RES));
170
printf("Thread to create %d\n",
threadNb
);
174
thread_array_result = malloc(
threadNb
* sizeof(int));
178
pThreadArray = malloc(
threadNb
* sizeof(pthread_t));
179
for (i = 0; i <
threadNb
; i++) {
191
for (i = 0; i <
threadNb
; i++) {
197
for (i = 0; i <
threadNb
; i++) {
205
for (i = 0; i <
threadNb
; i++) {
tirpc_bottomlevel_clnt_call_scalability.c
133
int
threadNb
= atoi((char *)argc[3]);
154
maxThd = maxThd << (
threadNb
- 1); //Set the maximum threads number
162
fprintf(stderr, "Instances : %d\n",
threadNb
);
171
thread_time_result = malloc((
threadNb
) * sizeof(double));
172
memset(&thread_time_result[0], (double)0, (
threadNb
) * sizeof(double));
178
for (i = 0; i <
threadNb
; i++) {
221
for (i = 0; i <
threadNb
; i++) {
234
for (i = 0; i <
threadNb
; i++) {
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/
tirpc_expertlevel_clnt_call_mt.c
123
int
threadNb
= atoi(argc[3]);
134
printf("Thread to create %d\n",
threadNb
);
138
thread_array_result = malloc(
threadNb
* sizeof(int));
139
memset(&thread_array_result[0], 0,
threadNb
* sizeof(int));
143
pThreadArray = malloc(
threadNb
* sizeof(pthread_t));
144
for (i = 0; i <
threadNb
; i++) {
155
for (i = 0; i <
threadNb
; i++) {
161
for (i = 0; i <
threadNb
; i++) {
169
for (i = 0; i <
threadNb
; i++) {
tirpc_expertlevel_clnt_call_complex.c
156
int
threadNb
= atoi(argc[3]);
164
resTbl = malloc(
threadNb
* sizeof(struct RES));
170
printf("Thread to create %d\n",
threadNb
);
174
thread_array_result = malloc(
threadNb
* sizeof(int));
175
memset(&thread_array_result[0], 0,
threadNb
* sizeof(int));
179
pThreadArray = malloc(
threadNb
* sizeof(pthread_t));
180
for (i = 0; i <
threadNb
; i++) {
191
for (i = 0; i <
threadNb
; i++) {
197
for (i = 0; i <
threadNb
; i++) {
205
for (i = 0; i <
threadNb
; i++)
[
all
...]
tirpc_expertlevel_clnt_call_scalability.c
128
int
threadNb
= atoi((char *)argc[3]);
149
maxThd = maxThd << (
threadNb
- 1); //Set the maximum threads number
157
fprintf(stderr, "Instances : %d\n",
threadNb
);
166
thread_time_result = malloc((
threadNb
) * sizeof(double));
167
memset(&thread_time_result[0], (double)0, (
threadNb
) * sizeof(double));
173
for (i = 0; i <
threadNb
; i++) {
216
for (i = 0; i <
threadNb
; i++) {
229
for (i = 0; i <
threadNb
; i++) {
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/
tirpc_rpcb_rmtcall_mt.c
118
int
threadNb
= atoi(argc[3]);
129
printf("Thread to create %d\n",
threadNb
);
133
thread_array_result = malloc(
threadNb
* sizeof(int));
134
memset(&thread_array_result[0], 0,
threadNb
* sizeof(int));
138
pThreadArray = malloc(
threadNb
* sizeof(pthread_t));
139
for (i = 0; i <
threadNb
; i++) {
150
for (i = 0; i <
threadNb
; i++) {
156
for (i = 0; i <
threadNb
; i++) {
164
for (i = 0; i <
threadNb
; i++) {
tirpc_rpcb_rmtcall_complex.c
148
int
threadNb
= atoi(argc[3]);
156
resTbl = malloc(
threadNb
* sizeof(struct RES));
162
printf("Thread to create %d\n",
threadNb
);
166
thread_array_result = malloc(
threadNb
* sizeof(int));
167
memset(&thread_array_result[0], 0,
threadNb
* sizeof(int));
171
pThreadArray = malloc(
threadNb
* sizeof(pthread_t));
172
for (i = 0; i <
threadNb
; i++) {
183
for (i = 0; i <
threadNb
; i++) {
189
for (i = 0; i <
threadNb
; i++) {
197
for (i = 0; i <
threadNb
; i++)
[
all
...]
tirpc_rpcb_rmtcall_scalability.c
118
int
threadNb
= atoi((char *)argc[3]);
139
maxThd = maxThd << (
threadNb
- 1); //Set the maximum threads number
147
fprintf(stderr, "Instances : %d\n",
threadNb
);
156
thread_time_result = malloc((
threadNb
) * sizeof(double));
157
memset(&thread_time_result[0], (double)0, (
threadNb
) * sizeof(double));
163
for (i = 0; i <
threadNb
; i++) {
206
for (i = 0; i <
threadNb
; i++) {
219
for (i = 0; i <
threadNb
; i++) {
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/
tirpc_svc_unreg_mt.c
94
int
threadNb
= atoi(argc[3]);
104
printf("Thread to create %d\n",
threadNb
);
108
thread_array_result = malloc(
threadNb
* sizeof(int));
109
memset(&thread_array_result[0], 0,
threadNb
* sizeof(int));
113
pThreadArray = malloc(
threadNb
* sizeof(pthread_t));
114
for (i = 0; i <
threadNb
; i++) {
125
for (i = 0; i <
threadNb
; i++) {
131
for (i = 0; i <
threadNb
; i++) {
139
for (i = 0; i <
threadNb
; i++) {
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/
tirpc_interlevel_clnt_call_mt.c
107
int
threadNb
= atoi(argc[3]);
118
printf("Thread to create %d\n",
threadNb
);
122
thread_array_result = malloc(
threadNb
* sizeof(int));
123
memset(&thread_array_result[0], 0,
threadNb
* sizeof(int));
127
pThreadArray = malloc(
threadNb
* sizeof(pthread_t));
128
for (i = 0; i <
threadNb
; i++) {
139
for (i = 0; i <
threadNb
; i++) {
145
for (i = 0; i <
threadNb
; i++) {
153
for (i = 0; i <
threadNb
; i++) {
tirpc_interlevel_clnt_call_complex.c
138
int
threadNb
= atoi(argc[3]);
146
resTbl = malloc(
threadNb
* sizeof(struct RES));
152
printf("Thread to create %d\n",
threadNb
);
156
thread_array_result = malloc(
threadNb
* sizeof(int));
157
memset(&thread_array_result[0], 0,
threadNb
* sizeof(int));
161
pThreadArray = malloc(
threadNb
* sizeof(pthread_t));
162
for (i = 0; i <
threadNb
; i++) {
173
for (i = 0; i <
threadNb
; i++) {
179
for (i = 0; i <
threadNb
; i++) {
187
for (i = 0; i <
threadNb
; i++)
[
all
...]
tirpc_interlevel_clnt_call_scalability.c
110
int
threadNb
= atoi((char *)argc[3]);
131
maxThd = maxThd << (
threadNb
- 1); //Set the maximum threads number
139
fprintf(stderr, "Instances : %d\n",
threadNb
);
148
thread_time_result = malloc((
threadNb
) * sizeof(double));
149
memset(&thread_time_result[0], (double)0, (
threadNb
) * sizeof(double));
155
for (i = 0; i <
threadNb
; i++) {
198
for (i = 0; i <
threadNb
; i++) {
211
for (i = 0; i <
threadNb
; i++) {
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/
tirpc_toplevel_clnt_call_mt.c
100
int
threadNb
= atoi(argc[3]);
112
printf("Thread to create %d\n",
threadNb
);
116
thread_array_result = malloc(
threadNb
* sizeof(int));
117
memset(&thread_array_result[0], 0,
threadNb
* sizeof(int));
121
pThreadArray = malloc(
threadNb
* sizeof(pthread_t));
122
for (i = 0; i <
threadNb
; i++) {
133
for (i = 0; i <
threadNb
; i++) {
139
for (i = 0; i <
threadNb
; i++) {
147
for (i = 0; i <
threadNb
; i++) {
tirpc_toplevel_clnt_call_complex.c
127
int
threadNb
= atoi(argc[3]);
135
resTbl = malloc(
threadNb
* sizeof(struct RES));
141
printf("Thread to create %d\n",
threadNb
);
145
thread_array_result = malloc(
threadNb
* sizeof(int));
146
memset(&thread_array_result[0], 0,
threadNb
* sizeof(int));
150
pThreadArray = malloc(
threadNb
* sizeof(pthread_t));
151
for (i = 0; i <
threadNb
; i++) {
162
for (i = 0; i <
threadNb
; i++) {
168
for (i = 0; i <
threadNb
; i++) {
176
for (i = 0; i <
threadNb
; i++)
[
all
...]
tirpc_toplevel_clnt_call_scalability.c
100
int
threadNb
= atoi((char *)argc[3]);
121
maxThd = maxThd << (
threadNb
- 1); //Set the maximum threads number
129
fprintf(stderr, "Instances : %d\n",
threadNb
);
138
thread_time_result = malloc((
threadNb
) * sizeof(double));
139
memset(&thread_time_result[0], (double)0, (
threadNb
) * sizeof(double));
145
for (i = 0; i <
threadNb
; i++) {
188
for (i = 0; i <
threadNb
; i++) {
201
for (i = 0; i <
threadNb
; i++) {
Completed in 80 milliseconds
1
2