mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Change ulong to long in processor's transistors as database contains signed value.
This commit is contained in:
@@ -390,7 +390,7 @@ namespace Cicm.Database
|
||||
Process = dataRow["process"] == DBNull.Value ? null : (string)dataRow["process"],
|
||||
ProcessNm = dataRow["process_nm"] == DBNull.Value ? 0 : (float)dataRow["process_nm"],
|
||||
DieSize = dataRow["die_size"] == DBNull.Value ? 0 : (float)dataRow["die_size"],
|
||||
Transistors = dataRow["transistors"] == DBNull.Value ? 0 : (ulong)dataRow["transistors"],
|
||||
Transistors = dataRow["transistors"] == DBNull.Value ? 0 : (long)dataRow["transistors"],
|
||||
AddressBus = dataRow["addr_bus"] == DBNull.Value ? 0 : (int)dataRow["addr_bus"],
|
||||
DataBus = dataRow["data_bus"] == DBNull.Value ? 0 : (int)dataRow["data_bus"],
|
||||
Simd = dataRow["SIMD_registers"] == DBNull.Value ? 0 : (int)dataRow["SIMD_registers"],
|
||||
|
||||
@@ -91,6 +91,6 @@ namespace Cicm.Database.Schemas
|
||||
/// <summary>How many simultaneos threads can run on each processor core</summary>
|
||||
public int ThreadsPerCore;
|
||||
/// <summary>How many transistors in package</summary>
|
||||
public ulong Transistors;
|
||||
public long Transistors;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user