PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
void | pg_rusage_init (PGRUsage *ru0) |
const char * | pg_rusage_show (const PGRUsage *ru0) |
void pg_rusage_init | ( | PGRUsage * | ru0 | ) |
Definition at line 27 of file pg_rusage.c.
References getrusage(), gettimeofday(), PGRUsage::ru, RUSAGE_SELF, and PGRUsage::tv.
Referenced by copy_table_data(), do_analyze_rel(), heap_vacuum_rel(), PerformWalRecovery(), pg_rusage_show(), reindex_index(), ReindexRelationConcurrently(), and tuplesort_begin_common().
const char* pg_rusage_show | ( | const PGRUsage * | ru0 | ) |
Definition at line 40 of file pg_rusage.c.
References _, pg_rusage_init(), PGRUsage::ru, rusage::ru_stime, rusage::ru_utime, snprintf, and PGRUsage::tv.
Referenced by copy_table_data(), do_analyze_rel(), dumptuples(), heap_vacuum_rel(), inittapes(), mergeruns(), PerformWalRecovery(), reindex_index(), ReindexRelationConcurrently(), tuplesort_free(), tuplesort_performsort(), and tuplesort_puttuple_common().