summaryrefslogtreecommitdiff
path: root/modules/benchmark.c
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2020-06-06 16:19:39 -0700
committerLeandro Pereira <leandro@hardinfo.org>2020-06-06 18:46:58 -0700
commit25e537d2d9aa17a3558a3b6f4624ccfc772c26ab (patch)
treec7f94e19f04c8b07241721351f463466151c1d60 /modules/benchmark.c
parentc5cb494c9b511164fcf7b562505cdc48ae40b2ca (diff)
Store/send machine type (laptop/desktop/etc) in benchmark results
Diffstat (limited to 'modules/benchmark.c')
-rw-r--r--modules/benchmark.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/benchmark.c b/modules/benchmark.c
index aa88e7df..ed7e9ff1 100644
--- a/modules/benchmark.c
+++ b/modules/benchmark.c
@@ -850,6 +850,7 @@ static gchar *get_benchmark_results(gsize *len)
ADD_JSON_VALUE(string, "MemoryTypes", this_machine->ram_types);
ADD_JSON_VALUE(int, "MachineDataVersion",
this_machine->machine_data_version);
+ ADD_JSON_VALUE(string, "MachineType", this_machine->machine_type);
ADD_JSON_VALUE(boolean, "Legacy", FALSE);
ADD_JSON_VALUE(string, "ExtraInfo", bench_results[i].extra);