Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-12-19 02:35:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-12-19 02:35:52 +0400
commit65f2cbdd0f23df6b3575e8d61ef59bfb71cc4932 (patch)
treecde900f9f6a625ce5809537523e446f975f561cb /source/blender/modifiers
parent64567ffb873b4c72dfbbef98bf75679617185c44 (diff)
remove windows only benchmark functions, use PIL_time.h's TIMEIT macros instead.
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_weightvgproximity.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/source/blender/modifiers/intern/MOD_weightvgproximity.c b/source/blender/modifiers/intern/MOD_weightvgproximity.c
index 1cac7ac3336..af180b8a688 100644
--- a/source/blender/modifiers/intern/MOD_weightvgproximity.c
+++ b/source/blender/modifiers/intern/MOD_weightvgproximity.c
@@ -57,32 +57,6 @@
/* Util macro. */
#define OUT_OF_MEMORY() ((void)printf("WeightVGProximity: Out of memory.\n"))
-/* Benchmark macros */
-#if !defined(_WIN32) && 1
-
-#include <sys/time.h>
-
-#define BENCH_INIT \
- double _t1, _t2; \
- struct timeval _tstart, _tend; \
-
-#define BENCH_START \
- gettimeofday ( &_tstart, NULL); \
-
-#define BENCH_END \
- gettimeofday ( &_tend, NULL); \
- _t1 = ( double ) _tstart.tv_sec + ( double ) _tstart.tv_usec/ ( 1000*1000 ); \
- _t2 = ( double ) _tend.tv_sec + ( double ) _tend.tv_usec/ ( 1000*1000 ); \
- printf("BENCH: %fs (real)\n", _t2-_t1);\
-
-#else
-
-#define BENCH_INIT
-#define BENCH_START
-#define BENCH_END
-
-#endif
-
/**
* Find nearest vertex and/or edge and/or face, for each vertex (adapted from shrinkwrap.c).
*/