Skip to content

Commit

Permalink
also print relation name
Browse files Browse the repository at this point in the history
  • Loading branch information
kaigai committed Jan 16, 2012
1 parent e59e429 commit 63fc728
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1550,6 +1550,8 @@ pgstrom_end_foreign_scan(ForeignScanState *fss)
gettimeofday(&tv2, NULL);
sestate->pf_pgstrom_total += TIMEVAL_ELAPSED(&tv1, &tv2);

elog(INFO, "PG-Strom Exec Profile on \"%s\"",
RelationGetRelationName(sestate->es_relation));
elog(INFO, "Total PG-Strom consumed time: %.3f ms",
((double)sestate->pf_pgstrom_total) / 1000.0);
elog(INFO, "Time to JIT GPU comple: %.3f ms",
Expand Down

0 comments on commit 63fc728

Please sign in to comment.