Changeset: 3c1df0833f23 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3c1df0833f23 Modified Files: clients/mapiclient/mclient.c Branch: Mar2018 Log Message:
mclient: with --timer=performance, print timings in (chrono-)logical order: "sql", "opt", "run", "clk" . diffs (19 lines): diff --git a/clients/mapiclient/mclient.c b/clients/mapiclient/mclient.c --- a/clients/mapiclient/mclient.c +++ b/clients/mapiclient/mclient.c @@ -307,13 +307,13 @@ timerHuman(int64_t sqloptimizer, int64_t fflush(stderr); mnstr_flush(toConsole); } - if (!singleinstr != !total) - fprintf(stderr, "clk:%" PRId64 ".%03d ", t / 1000, (int) (t % 1000)); if (!total) fprintf(stderr, "sql:%" PRId64 ".%03d opt:%" PRId64 ".%03d run:%" PRId64 ".%03d ", sqloptimizer / 1000, (int) (sqloptimizer % 1000), maloptimizer / 1000, (int) (maloptimizer % 1000), querytime / 1000, (int) (querytime % 1000)); + if (!singleinstr != !total) + fprintf(stderr, "clk:%" PRId64 ".%03d ", t / 1000, (int) (t % 1000)); if ((!singleinstr != !total) || !total) { fprintf(stderr, "ms\n"); fflush(stderr); _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list