You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//In VMs there might be a missmatch betwen Sockets and Cores - see Issue#133 as a first fix we just map all cores that can't be mapped to the first
293
+
let socket = match socket_match {
294
+
Some(x) => x,
295
+
None =>self.sockets.first_mut().expect("Trick: if you are running on a vm, do not forget to use --vm parameter invoking scaphandre at the command line")
296
+
};
297
+
298
+
if socket_id == &socket.id{
299
+
socket.add_cpu_core(c);
300
+
}else{
301
+
socket.add_cpu_core(c);
302
+
warn!("coud't not match core to socket - mapping to first socket instead - if you are not using --vm there is something wrong")
295
303
}
296
-
}else{
297
-
warn!("Couldn't retrieve any CPU Core from the topology. (generate_cpu_cores)");
0 commit comments