var searchIndex = {}; searchIndex["cpuid"] = {"doc":"Rust bindings for [libpcuid](https://github.com/anrieff/libcpuid)\nCPU detection and feature extraction library.","items":[[3,"CpuInfo","cpuid","A struct holding information about CPU features.",null,null],[12,"vendor","","CPU vendor string, for example *GenuineIntel*.",0,null],[12,"brand","","Brand string, for example *Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz*.",0,null],[12,"codename","","Brief CPU codename, such as *Sandy Bridge (Core i5)*.",0,null],[12,"num_cores","","Number of physical cores of the current CPU.",0,null],[12,"num_logical_cpus","","Number of logical processors (may include HyperThreading or such).",0,null],[12,"total_logical_cpus","","Total number of logical processors.",0,null],[12,"l1_data_cache","","L1 data cache size in kB. `Some(0)` if the CPU lacks cache, `None` if it couldn't be determined.",0,null],[12,"l1_instruction_cache","","L1 instruction cache size in kB. `Some(0)` if the CPU lacks cache, `None` if it couldn't be determined.",0,null],[12,"l2_cache","","L2 cache size in kB. `Some(0)` if the CPU lacks L2 cache, `None` if it couldn't be determined.",0,null],[12,"l3_cache","","L3 cache size in kB. `Some(0)` if the CPU lacks L3 cache, `None` if it couldn't be determined.",0,null],[4,"CpuFeature","","CPU feature identifiers.",null,null],[13,"FloatingPointUnit","","",1,null],[13,"VirtualModeExtension","","",1,null],[13,"DebugingExtension","","",1,null],[13,"PageSizeExtension","","",1,null],[13,"TimestampCounter","","",1,null],[13,"ModelSpecificRegisters","","",1,null],[13,"PhysicalAddressExtension","","",1,null],[13,"MachineCheckException","","",1,null],[13,"CMPXCHG8B","","",1,null],[13,"APIC","","",1,null],[13,"MemoryTypeRangeRegisters","","",1,null],[13,"SysenterSysexit","","",1,null],[13,"PageGlobalEnable","","",1,null],[13,"MachineCheckArchitecture","","",1,null],[13,"CMOV","","",1,null],[13,"PageAttributeTable","","",1,null],[13,"PageAddressExtension36bit","","",1,null],[13,"ProcessorSerialNumber","","",1,null],[13,"CLFLUSH","","",1,null],[13,"DebugStore","","",1,null],[13,"ACPI","","",1,null],[13,"MMX","","",1,null],[13,"FXSAVE","","",1,null],[13,"SSE","","",1,null],[13,"SSE2","","",1,null],[13,"SelfSnoop","","",1,null],[13,"HyperThreading","","",1,null],[13,"ThermalMonitor","","",1,null],[13,"IA64","","",1,null],[13,"PendingBreakEnable","","",1,null],[13,"SSE3","","",1,null],[13,"PCLMULQDQ","","",1,null],[13,"DebugStore64","","",1,null],[13,"MONITOR","","",1,null],[13,"CplQualifiedDebugStore","","",1,null],[13,"VirtualisationTechnology","","",1,null],[13,"SaferModeExceptions","","",1,null],[13,"EnhancedSpeedStep","","",1,null],[13,"ThermalMonitor2","","",1,null],[13,"SSSE3","","",1,null],[13,"ContextId","","",1,null],[13,"CMPXCHG16B","","",1,null],[13,"SendTaskPriorityMessages","","",1,null],[13,"PerformanceCapabilitiesMSR","","",1,null],[13,"DirectCacheAccess","","",1,null],[13,"SSE41","","",1,null],[13,"SSE42","","",1,null],[13,"SyscallSysret","","",1,null],[13,"ExecuteDisableBit","","",1,null],[13,"MOVBE","","",1,null],[13,"POPCNT","","",1,null],[13,"AES","","",1,null],[13,"XSAVE","","",1,null],[13,"OSXSAVE","","",1,null],[13,"AdvancedVectorExtensions","","",1,null],[13,"MMXExtensions","","",1,null],[13,"AMD3DNow","","",1,null],[13,"AMD3DNowExtended","","",1,null],[13,"NoExecuteBit","","",1,null],[13,"FXSAVEOptimizations","","",1,null],[13,"RDTSCP","","",1,null],[13,"LongMode","","",1,null],[13,"LAHFLongMode","","",1,null],[13,"CoreMultiProcessingLegacyMode","","",1,null],[13,"AMDSecureVirtualMachine","","",1,null],[13,"LZCNT","","",1,null],[13,"MisalignedSSE","","",1,null],[13,"SSE4a","","",1,null],[13,"PREFETCH","","",1,null],[13,"OsVisibleWorkaround","","",1,null],[13,"InstructionBasedSampling","","",1,null],[13,"SSE5","","",1,null],[13,"SKINIT","","",1,null],[13,"WatchdogTimer","","",1,null],[13,"TemperatureSensor","","",1,null],[13,"FrequencyIDControl","","",1,null],[13,"VoltageIDControl","","",1,null],[13,"THERMTRIP","","",1,null],[13,"AMDThermalControl","","",1,null],[13,"SoftwareThermalControl","","",1,null],[13,"Multiplier100Mhz","","",1,null],[13,"HardwarePstateControl","","",1,null],[13,"ConstantTSCTicks","","",1,null],[13,"XOP","","",1,null],[13,"FMA3","","",1,null],[13,"FMA4","","",1,null],[13,"TrailingBitManipulation","","",1,null],[13,"FPConvert16Bit","","",1,null],[13,"RDRAND","","",1,null],[13,"X2APIC","","",1,null],[13,"CorePerformanceBoost","","",1,null],[13,"MPERF","","",1,null],[13,"ProcessorFeedbackInterface","","",1,null],[13,"ProcessorAccumulator","","",1,null],[13,"NumCpuFeatures","","",1,null],[5,"is_present","","Checks if the CPUID instruction is present.",null,{"inputs":[],"output":{"name":"bool"}}],[5,"version","","Returns libcpuid version string.",null,{"inputs":[],"output":{"name":"string"}}],[5,"error","","Returns last libcpuid error string.",null,{"inputs":[],"output":{"name":"string"}}],[5,"identify","","Tries to identify the current CPU and its features.",null,{"inputs":[],"output":{"name":"result"}}],[5,"clock_frequency","","Gets the CPU clock frequency in MHz.",null,{"inputs":[],"output":{"name":"option"}}],[11,"clone","","",1,null],[11,"has_feature","","Checks if current CPU supports given feature.",0,null]],"paths":[[3,"CpuInfo"],[4,"CpuFeature"]]}; initSearch(searchIndex);