EnterpriseDB/system_stats

Redundant logic.

Closed this issue · 2 comments

Is it normal to set the value of MaxClockSpeed to l2cache?
Although l2cache was set correctly afterwards.

hres = result->lpVtbl->Get(result, L"MaxClockSpeed", 0, &query_result, 0, 0);

yes, you are right, MaxClockSpeed is already getting read before L2CacheSize so removed the redundant code. Here is the PR ( #20 )

Perfect, thank you.