declaration fix

pull/6763/head
Halil Ozan Akgul 2023-03-09 12:22:04 +03:00
parent 6ea9d00971
commit 2b55ecc167
1 changed files with 1 additions and 2 deletions

View File

@ -263,11 +263,10 @@ AttributeMetricsIfApplicable()
if (strcmp(attributeToTenant, "") != 0)
{
clock_t end = { 0 };
double cpu_time_used = 0;
end = clock();
time_t queryTime = time(0);
cpu_time_used = ((double) (end - attributeToTenantStart)) / CLOCKS_PER_SEC;
double cpu_time_used = ((double) (end - attributeToTenantStart)) / CLOCKS_PER_SEC;
if (MultiTenantMonitoringLogLevel != CITUS_LOG_LEVEL_OFF)
{