Merge pull request #189 from ibrarahmad/REL1_0_STABLE

PG-355: Collect accumulative value of sys_time and user_time.
pull/192/head
Hamid Akhtar 2022-03-09 18:55:18 +05:00 committed by GitHub
commit 23f2ef13b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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