- log(L_INFO, "Spent %.3f sec (%.2f MB/sec)", (double)cnt_ms/1000, (double)cnt / 1048576 * 1000 / cnt_ms); \
+ msg(L_INFO, "Spent %.3f sec (%.2f MB/sec)", (double)cnt_ms/1000, (double)cnt / 1048576 * 1000 / cnt_ms); \
int in_fd = sh_open("tmp/ft-in", O_RDWR | O_CREAT | O_TRUNC | DIRECT, 0666);
ASSERT(in_fd >= 0);
ASSERT(!(total_size % bufsize));
int in_fd = sh_open("tmp/ft-in", O_RDWR | O_CREAT | O_TRUNC | DIRECT, 0666);
ASSERT(in_fd >= 0);
ASSERT(!(total_size % bufsize));
for (uns i=0; i<files; i++)
{
sprintf(name[i], "tmp/ft-%d", i);
for (uns i=0; i<files; i++)
{
sprintf(name[i], "tmp/ft-%d", i);
- log(L_INFO, "Writing %d MB to %d files in parallel with %d byte buffers", (int)(total_size >> 20), files, bufsize);
+ msg(L_INFO, "Writing %d MB to %d files in parallel with %d byte buffers", (int)(total_size >> 20), files, bufsize);