Skip to content

Commit 14df234

Browse files
authored
Merge pull request #2489 from jijiwawa/brightness
Remove redundant code
2 parents 37d456f + bbeda55 commit 14df234

7 files changed

Lines changed: 0 additions & 14 deletions

File tree

benchmark/hemm.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,6 @@ int main(int argc, char *argv[]){
178178

179179
time1 = (double)(stop.tv_sec - start.tv_sec) + (double)((stop.tv_usec - start.tv_usec)) * 1.e-6;
180180

181-
gettimeofday( &start, (struct timezone *)0);
182-
183181
fprintf(stderr,
184182
" %10.2f MFlops\n",
185183
COMPSIZE * COMPSIZE * 2. * (double)m * (double)m * (double)m / time1 * 1.e-6);

benchmark/her2k.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,6 @@ int main(int argc, char *argv[]){
177177

178178
time1 = (double)(stop.tv_sec - start.tv_sec) + (double)((stop.tv_usec - start.tv_usec)) * 1.e-6;
179179

180-
gettimeofday( &start, (struct timezone *)0);
181-
182180
fprintf(stderr,
183181
" %10.2f MFlops\n",
184182
COMPSIZE * COMPSIZE * 2. * (double)m * (double)m * (double)m / time1 * 1.e-6);

benchmark/herk.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,6 @@ int main(int argc, char *argv[]){
175175

176176
time1 = (double)(stop.tv_sec - start.tv_sec) + (double)((stop.tv_usec - start.tv_usec)) * 1.e-6;
177177

178-
gettimeofday( &start, (struct timezone *)0);
179-
180178
fprintf(stderr,
181179
" %10.2f MFlops\n",
182180
COMPSIZE * COMPSIZE * 1. * (double)m * (double)m * (double)m / time1 * 1.e-6);

benchmark/symm.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,6 @@ int main(int argc, char *argv[]){
189189

190190
time1 = (double)(stop.tv_sec - start.tv_sec) + (double)((stop.tv_usec - start.tv_usec)) * 1.e-6;
191191

192-
gettimeofday( &start, (struct timezone *)0);
193-
194192
fprintf(stderr,
195193
" %10.2f MFlops\n",
196194
COMPSIZE * COMPSIZE * 2. * (double)m * (double)m * (double)m / time1 * 1.e-6);

benchmark/syr2k.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,6 @@ int main(int argc, char *argv[]){
189189

190190
time1 = (double)(stop.tv_sec - start.tv_sec) + (double)((stop.tv_usec - start.tv_usec)) * 1.e-6;
191191

192-
gettimeofday( &start, (struct timezone *)0);
193-
194192
fprintf(stderr,
195193
" %10.2f MFlops\n",
196194
COMPSIZE * COMPSIZE * 2. * (double)m * (double)m * (double)m / time1 * 1.e-6);

benchmark/syrk.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,6 @@ int main(int argc, char *argv[]){
185185

186186
time1 = (double)(stop.tv_sec - start.tv_sec) + (double)((stop.tv_usec - start.tv_usec)) * 1.e-6;
187187

188-
gettimeofday( &start, (struct timezone *)0);
189-
190188
fprintf(stderr,
191189
" %10.2f MFlops\n",
192190
COMPSIZE * COMPSIZE * 1. * (double)m * (double)m * (double)m / time1 * 1.e-6);

benchmark/trmm.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,6 @@ int main(int argc, char *argv[]){
188188

189189
time1 = (double)(stop.tv_sec - start.tv_sec) + (double)((stop.tv_usec - start.tv_usec)) * 1.e-6;
190190

191-
gettimeofday( &start, (struct timezone *)0);
192-
193191
fprintf(stderr,
194192
" %10.2f MFlops %10.6f sec\n",
195193
COMPSIZE * COMPSIZE * 1. * (double)m * (double)m * (double)m / time1 * 1.e-6, time1);

0 commit comments

Comments
 (0)