14 #ifndef STXXL_ALGO_ASYNC_SCHEDULE_HEADER
15 #define STXXL_ALGO_ASYNC_SCHEDULE_HEADER
45 template <
typename RunType>
55 disks[i] = input[i].bid.storage->get_device_id();
59 template <
typename B
idIteratorType>
61 BidIteratorType input_begin,
62 BidIteratorType input_end,
67 const int_type L = input_end - input_begin;
70 for (BidIteratorType it = input_begin; it != input_end; ++it, ++i)
71 disks[i] = it->storage->get_device_id();
77 #endif // !STXXL_ALGO_ASYNC_SCHEDULE_HEADER
iterator end()
return mutable iterator beyond last element
choose_int_types< my_pointer_size >::int_type int_type
iterator begin()
return mutable iterator to first element
#define STXXL_BEGIN_NAMESPACE
void compute_prefetch_schedule(const int_type *first, const int_type *last, int_type *out_first, int_type m, int_type D)
#define STXXL_END_NAMESPACE