Lines Matching refs:cpu_info
97 json::Value toJSON(const pt_cpu &cpu_info) { in toJSON() argument
99 {"vendor", cpu_info.vendor == pcv_intel ? "GenuineIntel" : "Unknown"}, in toJSON()
100 {"family", cpu_info.family}, in toJSON()
101 {"model", cpu_info.model}, in toJSON()
102 {"stepping", cpu_info.stepping}, in toJSON()
106 bool fromJSON(const json::Value &value, pt_cpu &cpu_info, Path path) { in fromJSON() argument
113 cpu_info.vendor = vendor == "GenuineIntel" ? pcv_intel : pcv_unknown; in fromJSON()
114 cpu_info.family = family; in fromJSON()
115 cpu_info.model = model; in fromJSON()
116 cpu_info.stepping = stepping; in fromJSON()
140 {"cpuInfo", toJSON(bundle_description.cpu_info)}, in toJSON()
164 bundle_description.cpu_info, path.field("cpuInfo"))) in fromJSON()