Browse Source

drop including sys/time.h, now useless

Samuel Thibault 10 years ago
parent
commit
1ee69f6aaa

+ 0 - 1
examples/audio/starpu_audio_processing.c

@@ -21,7 +21,6 @@
 #include <math.h>
 #include <string.h>
 #include <sys/types.h>
-#include <sys/time.h>
 
 #include <starpu.h>
 #include <fftw3.h>

+ 0 - 1
examples/axpy/axpy.c

@@ -20,7 +20,6 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <assert.h>
-#include <sys/time.h>
 #include <math.h>
 
 #include <common/blas.h>

+ 0 - 1
examples/basic_examples/mult.c

@@ -34,7 +34,6 @@
 #include <string.h>
 #include <math.h>
 #include <sys/types.h>
-#include <sys/time.h>
 #include <signal.h>
 
 #include <starpu.h>

+ 0 - 1
examples/binary/binary.c

@@ -16,7 +16,6 @@
  */
 
 #include <starpu.h>
-#include <sys/time.h>
 
 #define FPRINTF(ofile, fmt, ...) do { if (!getenv("STARPU_SSILENT")) {fprintf(ofile, fmt, ## __VA_ARGS__); }} while(0)
 

+ 0 - 1
examples/callback/callback.c

@@ -16,7 +16,6 @@
  */
 
 #include <starpu.h>
-#include <sys/time.h>
 
 #define FPRINTF(ofile, fmt, ...) do { if (!getenv("STARPU_SSILENT")) {fprintf(ofile, fmt, ## __VA_ARGS__); }} while(0)
 

+ 0 - 1
examples/callback/prologue.c

@@ -16,7 +16,6 @@
  */
 
 #include <starpu.h>
-#include <sys/time.h>
 
 #define FPRINTF(ofile, fmt, ...) do { if (!getenv("STARPU_SSILENT")) {fprintf(ofile, fmt, ## __VA_ARGS__); }} while(0)
 

+ 0 - 1
examples/cg/cg.c

@@ -16,7 +16,6 @@
 
 #include <math.h>
 #include <assert.h>
-#include <sys/time.h>
 #include <starpu.h>
 #include <common/blas.h>
 

+ 0 - 1
examples/cholesky/cholesky.h

@@ -21,7 +21,6 @@
 #include <limits.h>
 #include <string.h>
 #include <math.h>
-#include <sys/time.h>
 #ifdef STARPU_USE_CUDA
 #include <cuda.h>
 #include <cuda_runtime.h>

+ 0 - 1
examples/heat/dw_factolu.c

@@ -17,7 +17,6 @@
  */
 
 #include "dw_factolu.h"
-#include <sys/time.h>
 
 #if 0
 #define debug(fmt, ...) fprintf(stderr, fmt, ## __VA_ARGS__)

+ 0 - 1
examples/heat/dw_factolu.h

@@ -21,7 +21,6 @@
 #include <semaphore.h>
 #include <string.h>
 #include <math.h>
-#include <sys/time.h>
 #include <starpu.h>
 #ifdef STARPU_USE_CUDA
 #include <cuda.h>

+ 0 - 1
examples/incrementer/incrementer.c

@@ -16,7 +16,6 @@
  */
 
 #include <starpu.h>
-#include <sys/time.h>
 
 static unsigned niter = 50000;
 #define FPRINTF(ofile, fmt, ...) do { if (!getenv("STARPU_SSILENT")) {fprintf(ofile, fmt, ## __VA_ARGS__); }} while(0)

+ 0 - 1
examples/lu/xlu.h

@@ -18,7 +18,6 @@
 #ifndef __XLU_H__
 #define __XLU_H__
 
-#include <sys/time.h>
 #include <starpu.h>
 #include <common/blas.h>
 

+ 0 - 1
examples/mandelbrot/mandelbrot.c

@@ -16,7 +16,6 @@
  */
 
 #include <starpu.h>
-#include <sys/time.h>
 #include <math.h>
 #include <limits.h>
 #ifdef STARPU_HAVE_X11

+ 0 - 1
examples/mult/xgemm.c

@@ -20,7 +20,6 @@
 #include <string.h>
 #include <math.h>
 #include <sys/types.h>
-#include <sys/time.h>
 #include <starpu.h>
 
 #include <common/blas.h>

+ 0 - 1
examples/pi/pi.c

@@ -19,7 +19,6 @@
 #include "SobolQRNG/sobol.h"
 #include "SobolQRNG/sobol_gold.h"
 #include "pi.h"
-#include <sys/time.h>
 
 #ifdef STARPU_USE_CUDA
 void cuda_kernel(void **descr, void *cl_arg);

+ 0 - 1
examples/pi/pi_redux.c

@@ -16,7 +16,6 @@
 
 #include <starpu.h>
 #include <stdlib.h>
-#include <sys/time.h>
 
 #define FPRINTF(ofile, fmt, ...) do { if (!getenv("STARPU_SSILENT")) {fprintf(ofile, fmt, ## __VA_ARGS__); }} while(0)
 #define PI	3.14159265358979323846

+ 0 - 1
examples/ppm_downscaler/yuv_downscaler.c

@@ -20,7 +20,6 @@
 
 #include <sys/types.h>
 #include <sys/stat.h>
-#include <sys/time.h>
 #include <unistd.h>
 #include <assert.h>
 #include <stdio.h>

+ 0 - 1
examples/sched_ctx_utils/sched_ctx_utils.h

@@ -17,7 +17,6 @@
 #include <limits.h>
 #include <string.h>
 #include <math.h>
-#include <sys/time.h>
 #include <stdlib.h>
 
 void parse_args_ctx(int argc, char **argv);

+ 0 - 1
examples/spmv/dw_block_spmv.c

@@ -16,7 +16,6 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
-#include <sys/time.h>
 #include "dw_block_spmv.h"
 #include "matrix_market/mm_to_bcsr.h"
 #define FPRINTF(ofile, fmt, ...) do { if (!getenv("STARPU_SSILENT")) {fprintf(ofile, fmt, ## __VA_ARGS__); }} while(0)

+ 0 - 1
examples/spmv/spmv.h

@@ -22,7 +22,6 @@
 #include <string.h>
 #include <stdint.h>
 #include <math.h>
-#include <sys/time.h>
 #include <signal.h>
 
 #include <starpu.h>

+ 0 - 1
examples/stencil/stencil-kernels.c

@@ -16,7 +16,6 @@
  */
 
 #include "stencil.h"
-#include <sys/time.h>
 
 /* Computation Kernels */
 

+ 0 - 1
examples/stencil/stencil.c

@@ -15,7 +15,6 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
-#include <sys/time.h>
 #include "stencil.h"
 
 /* Main application */

+ 0 - 1
examples/worker_collections/worker_list_example.c

@@ -16,7 +16,6 @@
  */
 
 #include <starpu.h>
-#include <sys/time.h>
 
 #define FPRINTF(ofile, fmt, ...) do { if (!getenv("STARPU_SSILENT")) {fprintf(ofile, fmt, ## __VA_ARGS__); }} while(0)
 

+ 0 - 1
examples/worker_collections/worker_tree_example.c

@@ -16,7 +16,6 @@
  */
 
 #include <starpu.h>
-#include <sys/time.h>
 
 #define FPRINTF(ofile, fmt, ...) do { if (!getenv("STARPU_SSILENT")) {fprintf(ofile, fmt, ## __VA_ARGS__); }} while(0)