diff --git a/.gitignore b/.gitignore index 9204bd2..194eab8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *~ #* _obj +*.tmp \ No newline at end of file diff --git a/cpu/cpu_windows.go b/cpu/cpu_windows.go index 808bbb3..d0e93c0 100644 --- a/cpu/cpu_windows.go +++ b/cpu/cpu_windows.go @@ -15,7 +15,6 @@ import ( type Win32_Processor struct { LoadPercentage uint16 - L2CacheSize uint32 Family uint16 Manufacturer string Name string @@ -67,7 +66,6 @@ func CPUInfo() ([]CPUInfoStat, error) { cpu := CPUInfoStat{ CPU: int32(i), Family: fmt.Sprintf("%d", l.Family), - CacheSize: int32(l.L2CacheSize), VendorID: l.Manufacturer, ModelName: l.Name, Cores: int32(l.NumberOfLogicalProcessors),