PG-311: Aggregate the cpu_user_time, cpu_sys_time columns per bucket.

pull/162/head
Ibrar Ahmed 2022-01-05 16:48:04 +00:00
parent 51ad08c42f
commit 63908af3f3
1 changed files with 2 additions and 2 deletions

View File

@ -1362,8 +1362,8 @@ pgss_update_entry(pgssEntry *entry,
e->counters.calls.usage += USAGE_EXEC(total_time); e->counters.calls.usage += USAGE_EXEC(total_time);
if (sys_info) if (sys_info)
{ {
e->counters.sysinfo.utime = sys_info->utime; e->counters.sysinfo.utime += sys_info->utime;
e->counters.sysinfo.stime = sys_info->stime; e->counters.sysinfo.stime += sys_info->stime;
} }
if (walusage) if (walusage)
{ {