Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
6265
static struct timeval Save_t;
6266
6267
void
6268
ResetUsage(void)
6269
{
6270
getrusage(RUSAGE_SELF, &Save_r);
6271
gettimeofday(&Save_t, NULL);
6272
}
6273
6274
void
6275
ShowUsage(const char *title)
Callers
15
PortalRun
Function · 0.85
PortalRunMulti
Function · 0.85
pg_parse_query
Function · 0.85
pg_analyze_and_rewrite
Function · 0.85
pg_analyze_and_rewrite_params
Function · 0.85
pg_rewrite_query
Function · 0.85
pg_plan_query
Function · 0.85
exec_mpp_query
Function · 0.85
exec_simple_query
Function · 0.85
exec_parse_message
Function · 0.85
exec_bind_message
Function · 0.85
exec_execute_message
Function · 0.85
Calls
2
getrusage
Function · 0.85
gettimeofday
Function · 0.85
Tested by
no test coverage detected