Navigation Menu

Skip to content

Commit

Permalink
Inline tpie/test/blocksize2MB.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Mortal committed Nov 1, 2011
1 parent 3f6b17d commit ac37a8b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions bench_external_sort_tpie.cpp
Expand Up @@ -28,8 +28,16 @@
#include <boost/random/linear_congruential.hpp>

#ifdef SORTING_MEMORY
// from tpie:
#include <test/blocksize2MB.h>
// from tpie/test/blocksize2MB.h:

// Define logical block size factor (default is 32)
// This yields a 2 MB block size
#ifdef WIN32
// the block size on windows is larger than on linux,
#define STREAM_UFS_BLOCK_FACTOR 32
#else
#define STREAM_UFS_BLOCK_FACTOR 512
#endif
#endif

typedef int type;
Expand Down

0 comments on commit ac37a8b

Please sign in to comment.