Searched refs:peak_concurrent_devices (Results 1 – 3 of 3) sorted by relevance
112 if current_device_count > lock.stats_proto.peak_concurrent_devices() in start()261 assert!(stats_proto.peak_concurrent_devices.is_none()); in test_start_and_shutdown()313 assert_eq!(stats_proto.peak_concurrent_devices.unwrap(), 1i32); in test_start_and_device_add()377 assert_eq!(stats_proto.peak_concurrent_devices.unwrap(), 1i32); in test_start_and_device_add_and_remove()434 assert!(stats_proto.peak_concurrent_devices.is_none()); in test_start_and_chip_add_and_remove()
1294 pub peak_concurrent_devices: ::std::option::Option<i32>, field1357 pub fn peak_concurrent_devices(&self) -> i32 { in peak_concurrent_devices() method1358 self.peak_concurrent_devices.unwrap_or(0) in peak_concurrent_devices()1362 self.peak_concurrent_devices = ::std::option::Option::None; in clear_peak_concurrent_devices()1366 self.peak_concurrent_devices.is_some() in has_peak_concurrent_devices()1371 self.peak_concurrent_devices = ::std::option::Option::Some(v); in set_peak_concurrent_devices()1425 |m: &NetsimStats| { &m.peak_concurrent_devices }, in generated_message_descriptor_data()1426 |m: &mut NetsimStats| { &mut m.peak_concurrent_devices }, in generated_message_descriptor_data()1468 self.peak_concurrent_devices = ::std::option::Option::Some(is.read_int32()?); in merge_from()1497 if let Some(v) = self.peak_concurrent_devices { in compute_size()[all …]
81 optional int32 peak_concurrent_devices = 3; field