]> mj.ucw.cz Git - libucw.git/blobdiff - lib/sorter/common.h
Added a couple of tests with the old sorter to have reference for speed benchmarks.
[libucw.git] / lib / sorter / common.h
index 52949657ad411c2face099d6d3b4fd0b4ea85d36..3097ea2de2cdf267a75f63ec13264d573ff18cc9 100644 (file)
@@ -98,9 +98,6 @@ sh_off_t sbuck_size(struct sort_bucket *b);
 struct fastbuf *sbuck_read(struct sort_bucket *b);
 struct fastbuf *sbuck_write(struct sort_bucket *b);
 void sbuck_swap_out(struct sort_bucket *b);
 struct fastbuf *sbuck_read(struct sort_bucket *b);
 struct fastbuf *sbuck_write(struct sort_bucket *b);
 void sbuck_swap_out(struct sort_bucket *b);
-
-#define F_SIZE(x) ({ byte buf[16]; format_size(buf, x); buf; })
-#define F_BSIZE(b) F_SIZE(sbuck_size(b))
 void format_size(byte *buf, u64 x);
 
 #endif
 void format_size(byte *buf, u64 x);
 
 #endif