MCPcopy Create free account
hub / github.com/apache/cloudberry / ResetUsage

Function ResetUsage

src/backend/tcop/postgres.c:6267–6272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6265static struct timeval Save_t;
6266
6267void
6268ResetUsage(void)
6269{
6270 getrusage(RUSAGE_SELF, &Save_r);
6271 gettimeofday(&Save_t, NULL);
6272}
6273
6274void
6275ShowUsage(const char *title)

Callers 15

PortalRunFunction · 0.85
PortalRunMultiFunction · 0.85
pg_parse_queryFunction · 0.85
pg_analyze_and_rewriteFunction · 0.85
pg_rewrite_queryFunction · 0.85
pg_plan_queryFunction · 0.85
exec_mpp_queryFunction · 0.85
exec_simple_queryFunction · 0.85
exec_parse_messageFunction · 0.85
exec_bind_messageFunction · 0.85
exec_execute_messageFunction · 0.85

Calls 2

getrusageFunction · 0.85
gettimeofdayFunction · 0.85

Tested by

no test coverage detected