Changeset: 2fce7393c233 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=2fce7393c233 Modified Files: clients/mapiclient/mclient.c Branch: Mar2018 Log Message:
mclient: added comment about what times we measure and report when diffs (18 lines): diff --git a/clients/mapiclient/mclient.c b/clients/mapiclient/mclient.c --- a/clients/mapiclient/mclient.c +++ b/clients/mapiclient/mclient.c @@ -266,6 +266,14 @@ timerHuman(int64_t sqloptimizer, int64_t timertype t = th - t0; timerHumanCalled = 1; + + /* + * report only the times we do actually measure: + * - client-measured wall-clock time per query only when executing indivual queries, + * otherwise only the total wall-clock time at the end of a batch; + * - server-measured detailed performance measures only per query. + */ + if (timermode == T_CLOCK && (!singleinstr != !total)) { /* (singleinstr XOR total) */ if (t / 1000 < 950) { mnstr_printf(toConsole, "clk: %" PRId64 ".%03d ms\n", t / 1000, (int) (t % 1000)); _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list