Skip to content

Commit 9f4353b

Browse files
committed
fix(data/cpu): store two fractional TDP values as whole watts
tdp_w is an integer field in the API schema. Pentium 3561Y (11.5 W) and AMD Z-01 (5.9 W) were added with fractional values, which the API serialiser rejects; they are rounded to 12 and 6.
1 parent 8bff513 commit 9f4353b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎data/cpu/amd/2011/consumer/z-01.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"base_clock_ghz": 1.0,
1515
"boost_clock_ghz": null,
1616
"l3_cache_mb": null,
17-
"tdp_w": 5.9,
17+
"tdp_w": 6,
1818
"max_tdp_w": null,
1919
"integrated_graphics": null,
2020
"memory_support": null,

‎data/cpu/intel/2013/consumer/pentium-3561y.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"base_clock_ghz": 1.2,
1515
"boost_clock_ghz": null,
1616
"l3_cache_mb": 2.0,
17-
"tdp_w": 11.5,
17+
"tdp_w": 12,
1818
"max_tdp_w": null,
1919
"integrated_graphics": null,
2020
"memory_support": null,

0 commit comments

Comments
 (0)