Skip to content

Commit 1adf5c4

Browse files
j/k, now finished
1 parent a5fae71 commit 1adf5c4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/fread.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2781,17 +2781,17 @@ int freadMain(freadMainArgs _args) {
27812781
if (verbose) {
27822782
DTPRINT("=============================\n"); // # notranslate
27832783
if (tTot < 0.000001) tTot = 0.000001; // to avoid nan% output in some trivially small tests where tot==0.000s
2784-
DTPRINT(_("%8.3fs (%3.0f%%) Memory map %.3fGB file\n"), tMap - t0, 100.0 * (tMap - t0) / tTot, 1.0 * fileSize / (1024 * 1024 * 1024));
2784+
DTPRINT(_("%8.3fs (%3.0f%%) Memory map %.3fGiB file\n"), tMap - t0, 100.0 * (tMap - t0) / tTot, 1.0 * fileSize / (1024 * 1024 * 1024));
27852785
DTPRINT(_("%8.3fs (%3.0f%%) sep="), tLayout - tMap, 100.0 * (tLayout - tMap) / tTot);
27862786
DTPRINT(sep == '\t' ? "'\\t'" : (sep == '\n' ? "'\\n'" : "'%c'"), sep); // # notranslate
27872787
DTPRINT(_(" ncol=%d and header detection\n"), ncol);
27882788
DTPRINT(_("%8.3fs (%3.0f%%) Column type detection using %"PRId64" sample rows\n"),
27892789
tColType - tLayout, 100.0 * (tColType - tLayout) / tTot, sampleLines);
2790-
DTPRINT(_("%8.3fs (%3.0f%%) Allocation of %"PRId64" rows x %d cols (%.3fGB) of which %"PRId64" (%3.0f%%) rows used\n"),
2790+
DTPRINT(_("%8.3fs (%3.0f%%) Allocation of %"PRId64" rows x %d cols (%.3fGiB) of which %"PRId64" (%3.0f%%) rows used\n"),
27912791
tAlloc - tColType, 100.0 * (tAlloc - tColType) / tTot, allocnrow, ncol, DTbytes / (1024.0 * 1024 * 1024), DTi, 100.0 * DTi / allocnrow);
27922792
thRead /= nth; thPush /= nth;
27932793
double thWaiting = tReread - tAlloc - thRead - thPush;
2794-
DTPRINT(_("%8.3fs (%3.0f%%) Reading %d chunks (%d swept) of %.3fMB (each chunk %"PRId64" rows) using %d threads\n"),
2794+
DTPRINT(_("%8.3fs (%3.0f%%) Reading %d chunks (%d swept) of %.3fMiB (each chunk %"PRId64" rows) using %d threads\n"),
27952795
tReread - tAlloc, 100.0 * (tReread - tAlloc) / tTot, nJumps, nSwept, (double)chunkBytes / (1024 * 1024), DTi / nJumps, nth);
27962796
DTPRINT(_(" + %8.3fs (%3.0f%%) Parse to row-major thread buffers (grown %d times)\n"), thRead, 100.0 * thRead / tTot, buffGrown);
27972797
DTPRINT(_(" + %8.3fs (%3.0f%%) Transpose\n"), thPush, 100.0 * thPush / tTot);

src/fsort.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ SEXP fsort(SEXP x, SEXP verboseArg) {
193193
memset(counts, 0, nBatch*MSBsize*sizeof(*counts));
194194
// provided MSBsize>=9, each batch is a multiple of at least one 4k page, so no page overlap
195195

196-
if (verbose) Rprintf(_("counts is %dMB (%d pages per nBatch=%d, batchSize=%"PRIu64", lastBatchSize=%"PRIu64")\n"),
196+
if (verbose) Rprintf(_("counts is %dMiB (%d pages per nBatch=%d, batchSize=%"PRIu64", lastBatchSize=%"PRIu64")\n"),
197197
(int)(nBatch*MSBsize*sizeof(*counts)/(1024*1024)),
198198
(int)(nBatch*MSBsize*sizeof(*counts)/(4*1024*nBatch)),
199199
nBatch, (uint64_t)batchSize, (uint64_t)lastBatchSize);

0 commit comments

Comments
 (0)