diff options
author | Leandro Pereira <leandro@hardinfo.org> | 2021-02-21 12:08:02 -0800 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2021-02-21 12:08:02 -0800 |
commit | 51ec888d834eeadae60c9b73e78d1672cadba796 (patch) | |
tree | b4d74a383bd15dfee153f1b77044470da6205af6 /modules/benchmark.c | |
parent | 78b4b74d5716a00a8e3493d39c64b258cd7cf7a3 (diff) |
Add NumNodes property to benchmark JSON
Diffstat (limited to 'modules/benchmark.c')
-rw-r--r-- | modules/benchmark.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/benchmark.c b/modules/benchmark.c index 4b536d42..032ae67a 100644 --- a/modules/benchmark.c +++ b/modules/benchmark.c @@ -797,6 +797,7 @@ static gchar *get_benchmark_results(gsize *len) ADD_JSON_VALUE(string, "GpuDesc", this_machine->gpu_desc); ADD_JSON_VALUE(int, "NumCpus", this_machine->processors); ADD_JSON_VALUE(int, "NumCores", this_machine->cores); + ADD_JSON_VALUE(int, "NumNodes", this_machine->nodes); ADD_JSON_VALUE(int, "NumThreads", this_machine->threads); ADD_JSON_VALUE(string, "MachineId", this_machine->mid); ADD_JSON_VALUE(int, "PointerBits", this_machine->ptr_bits); |