struct fastbuf *out = sbuck_write(bout);
P(copy_data)(&key, in, out);
bout->runs++;
struct fastbuf *out = sbuck_write(bout);
P(copy_data)(&key, in, out);
bout->runs++;
P(internal_item_t) *item_array = ctx->big_buf, *item = item_array, *last_item;
byte *end = (byte *) ctx->big_buf + bufsize;
size_t remains = bufsize - CPU_PAGE_SIZE;
P(internal_item_t) *item_array = ctx->big_buf, *item = item_array, *last_item;
byte *end = (byte *) ctx->big_buf + bufsize;
size_t remains = bufsize - CPU_PAGE_SIZE;
uns count = last_item - item_array;
void *workspace UNUSED = ALIGN_PTR(last_item, CPU_PAGE_SIZE);
uns count = last_item - item_array;
void *workspace UNUSED = ALIGN_PTR(last_item, CPU_PAGE_SIZE);
- SORT_XTRACE(3, "s-internal: Read %u items (%s items, %s workspace, %s data)",
+ SORT_XTRACE(4, "s-internal: Read %u items (%s items, %s workspace, %s data)",
count,
stk_fsize((byte*)last_item - (byte*)item_array),
stk_fsize(end - (byte*)last_item - remains),
stk_fsize((byte*)ctx->big_buf + bufsize - end));
timestamp_t timer;
init_timer(&timer);
count,
stk_fsize((byte*)last_item - (byte*)item_array),
stk_fsize(end - (byte*)last_item - remains),
stk_fsize((byte*)ctx->big_buf + bufsize - end));
timestamp_t timer;
init_timer(&timer);