File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -2156,6 +2156,31 @@ let vm_record rpc session_id vm =
21562156 )
21572157 ~get_map: (fun () -> (x () ).API. vM_platform)
21582158 ()
2159+ ; make_field ~name: " numa-optimised"
2160+ ~get: (fun () ->
2161+ Option. fold ~none: " false"
2162+ ~some: (fun m -> string_of_bool m.API. vM_metrics_numa_optimised)
2163+ (xm () )
2164+ )
2165+ ()
2166+ ; make_field ~name: " numa-nodes"
2167+ ~get: (fun () ->
2168+ Option. fold ~none: " 0"
2169+ ~some: (fun m -> Int64. to_string m.API. vM_metrics_numa_nodes)
2170+ (xm () )
2171+ )
2172+ ()
2173+ ; make_field ~name: " numa-node-memory"
2174+ ~get: (fun () ->
2175+ Option. fold ~none: " []"
2176+ ~some: (fun m ->
2177+ map_and_concat
2178+ (fun (x , y ) -> Printf. sprintf " %Li: %Li" x y)
2179+ m.API. vM_metrics_numa_node_memory
2180+ )
2181+ (xm () )
2182+ )
2183+ ()
21592184 ; make_field ~name: " allowed-operations"
21602185 ~get: (fun () ->
21612186 map_and_concat Record_util. vm_operation_to_string
You can’t perform that action at this time.
0 commit comments