/openbmc/telemetry/tests/src/ |
H A D | test_metric.cpp | 18 constexpr Milliseconds systemTimestamp = 42ms; 55 .collectionDuration(CollectionDuration(0ms)); 220 ret.emplace_back(0ms, std::numeric_limits<double>::quiet_NaN()); in defaultReadings() 221 ret.emplace_back(10ms, 14.); in defaultReadings() 222 ret.emplace_back(1ms, 3.); in defaultReadings() 223 ret.emplace_back(5ms, 7.); in defaultReadings() 232 .expectedReading(systemTimestamp + 16ms, 7.0); in defaultCollectionFunctionParams() 258 .collectionDuration(CollectionDuration(100ms)) 259 .expectedReading(systemTimestamp + 16ms, 3.0), 262 .collectionDuration(CollectionDuration(3ms)) [all …]
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | bcd_time_test.cpp | 36 std::vector<uint8_t> data{1, 2, 3, 4, 5, 6, 7, 8}; in TEST() 47 EXPECT_EQ(bcd.hour, 5); in TEST() 100 uint64_t ms = std::chrono::duration_cast<std::chrono::milliseconds>( in TEST() local 104 ASSERT_EQ(getBCDTime(now), getBCDTime(ms)); in TEST() 111 uint64_t ms = std::chrono::duration_cast<std::chrono::milliseconds>( in TEST() local 114 auto bcdTime = getBCDTime(ms); in TEST() 116 // BCDTime only tracks down to hundredths of a second (10ms), in TEST() 119 ms = ms - (ms % 10); in TEST() 121 EXPECT_EQ(ms, getMillisecondsSinceEpoch(bcdTime)); in TEST()
|
/openbmc/qemu/tests/unit/ |
H A D | test-smp-parse.c | 51 * Currently a 5-level topology hierarchy is supported on PC machines 81 * Currently a 5-level topology hierarchy is supported on s390 ccw machines 132 * List all the possible valid sub-collections of the generic 5 452 * config: -smp 200,sockets=3,dies=5,modules=2,cores=4,\ 455 .config = SMP_CONFIG_WITH_MODS_DIES(T, 200, T, 3, T, 5, T, 459 "sockets (3) * dies (5) * modules (2) * " 463 * config: -smp 242,sockets=3,dies=5,modules=2,cores=4,\ 466 .config = SMP_CONFIG_WITH_MODS_DIES(T, 242, T, 3, T, 5, T, 470 "sockets (3) * dies (5) * modules (2) * " 537 * config: -smp 200,drawers=3,books=5,sockets=2,cores=4,\ [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | bmc_network_utils.py | 78 Max rtt: 193.010ms | Min rtt: 193.010ms | Avg rtt: 193.010ms 80 TCP connection attempts: 5 | Successful connections: 5 | Failed: 0 (0.00%) 86 [max_rtt]: 193.010ms 87 [min_rtt]: 193.010ms 88 [avg_rtt]: 193.010ms 93 [tcp_connection_attempts]: 5 94 [successful_connections]: 5 147 [max_rtt]: 0.534ms 148 [min_rtt]: 0.441ms 149 [avg_rtt]: 0.487ms
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/valkey/valkey/ |
H A D | init-valkey-server | 7 # Default-Start: S 2 3 4 5 33 # efectively simulating a stop with --retry=TERM/5/KILL/5 schedule. 34 waitAfterTerm=5000000 # us / 5000 ms / 5 s 35 waitAfterKill=5000000 # us / 5000 ms / 5 s 36 waitStep=100000 # us / 100 ms / 0.1 s
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/redis/redis/ |
H A D | init-redis-server | 7 # Default-Start: S 2 3 4 5 33 # efectively simulating a stop with --retry=TERM/5/KILL/5 schedule. 34 waitAfterTerm=5000000 # us / 5000 ms / 5 s 35 waitAfterKill=5000000 # us / 5000 ms / 5 s 36 waitStep=100000 # us / 100 ms / 0.1 s
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/redis/redis-7.2.8/ |
H A D | init-redis-server | 7 # Default-Start: S 2 3 4 5 33 # efectively simulating a stop with --retry=TERM/5/KILL/5 schedule. 34 waitAfterTerm=5000000 # us / 5000 ms / 5 s 35 waitAfterKill=5000000 # us / 5000 ms / 5 s 36 waitStep=100000 # us / 100 ms / 0.1 s
|
/openbmc/openbmc/meta-phosphor/recipes-core/systemd/phosphor-systemd-policy/ |
H A D | service-restart-policy.conf | 3 # - Change the RestartSec from 100ms to 1s. 5 # in. When a core file is involved, it's been found that generating 5 core 6 # files within ~500ms puts a huge strain on the BMC. Also, if the bmc is 13 # restarting once does the job or restarting all 5 times does not help 14 # and we just end up hitting the 5 limit anyway. 26 # See systemd-system.conf(5) for details on the conf files
|
/openbmc/u-boot/include/configs/ |
H A D | kzm9g.h | 73 /* Timeout for Flash erase operations (in ms) */ 75 /* Timeout for Flash write operations (in ms) */ 77 /* Timeout for Flash set sector lock bit operations (in ms) */ 79 /* Timeout for Flash clear lock bit operations (in ms) */ 99 #define CONFIG_SYS_I2C_SH_NUM_CONTROLLERS 5 112 #define CONFIG_SH_I2C_DATA_LOW 5
|
H A D | ecovec.h | 41 #define CONFIG_SH_I2C_DATA_LOW 5 97 /* Timeout for Flash erase operations (in ms) */ 99 /* Timeout for Flash write operations (in ms) */ 101 /* Timeout for Flash set sector lock bit operations (in ms) */ 103 /* Timeout for Flash clear lock bit operations (in ms) */
|
/openbmc/qemu/include/system/ |
H A D | numa.h | 32 HMAT_LB_DATA_WRITE_BANDWIDTH = 5, 100 void set_numa_options(MachineState *ms, NumaOptions *object, Error **errp); 101 void parse_numa_opts(MachineState *ms); 104 void parse_numa_hmat_cache(MachineState *ms, NumaHmatCacheOptions *node, 106 void numa_complete_configuration(MachineState *ms); 107 void query_numa_node_mem(NumaNodeMem node_mem[], MachineState *ms);
|
/openbmc/openbmc/poky/meta/recipes-devtools/valgrind/valgrind/ |
H A D | 0001-Use-portable-syntax-for-pushsection-directive-in-inl.patch | 20 index 5bec51d..e4c2dbc 100644 24 /* Note: The "MS" section flags are to remove duplicates. */ 27 -.pushsection \".debug_gdb_scripts\", \"MS\",@progbits,1\n\ 28 +.pushsection \".debug_gdb_scripts\", \"MS\",%progbits,1\n\
|
/openbmc/u-boot/board/highbank/ |
H A D | ahci.c | 14 #define CPHY_DTE_XS 5 58 if (phy == 5) in combo_phy_read() 61 udelay(5); in combo_phy_read() 65 udelay(5); in combo_phy_read() 72 if (phy == 5) in combo_phy_write() 75 udelay(5); in combo_phy_write() 102 shift = ((phy == 5) ? 4 : lane) * 4; in cphy_tx_attenuation_override() 126 phy = 5; in cphy_disable_port_overrides() 127 else if (port < 5) in cphy_disable_port_overrides() 146 for (i = 0; i < 5; i++) { in cphy_disable_overrides() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/crash/crash/ |
H A D | 0005-Fix-build-failure-on-32bit-machine-i686.patch | 29 2 files changed, 5 insertions(+), 5 deletions(-) 75 struct machine_specific *ms = machdep->machspec; 76 if (is_kernel_text(*pc | ms->CONFIG_ARM64_KERNELPACMASK)) 77 *pc |= ms->CONFIG_ARM64_KERNELPACMASK;
|
/openbmc/qemu/hw/s390x/ |
H A D | s390-virtio-ccw.c | 278 S390CcwMachineState *ms = S390_CCW_MACHINE(machine); in ccw_init() local 283 ms->sclp = SCLP(object_new(TYPE_SCLP)); in ccw_init() 284 object_property_add_child(OBJECT(machine), TYPE_SCLP, OBJECT(ms->sclp)); in ccw_init() 285 qdev_realize_and_unref(DEVICE(ms->sclp), NULL, &error_fatal); in ccw_init() 330 s390_create_sclpconsole(ms->sclp, "sclpconsole", serial_hd(0)); in ccw_init() 333 s390_create_sclpconsole(ms->sclp, "sclplmconsole", serial_hd(1)); in ccw_init() 341 s390_create_sclpcpi(ms->sclp); in ccw_init() 350 MachineState *ms = MACHINE(hotplug_dev); in s390_cpu_plug() local 353 g_assert(!ms->possible_cpus->cpus[cpu->env.core_id].cpu); in s390_cpu_plug() 354 ms->possible_cpus->cpus[cpu->env.core_id].cpu = CPU(dev); in s390_cpu_plug() [all …]
|
/openbmc/u-boot/lib/efi_selftest/ |
H A D | efi_selftest_events.c | 100 * Run a 10 ms periodic timer and check that it is called 10 times 101 * while waiting for 100 ms single shot timer. 103 * Run a 100 ms single shot timer and check that it is called once 104 * while waiting for 100 ms periodic timer for two periods. 113 /* Set 10 ms timer */ in execute() 120 /* Set 100 ms timer */ in execute() 128 index = 5; in execute() 154 /* Set 10 ms timer */ in execute() 161 /* Set 100 ms timer */ in execute()
|
H A D | efi_selftest_tpl.c | 100 * Run a 10 ms periodic timer and check that it is called 10 times 101 * while waiting for 100 ms single shot timer. 103 * Raise the TPL level to the level of the 10 ms timer and observe 117 /* Set 10 ms timer */ in execute() 124 /* Set 100 ms timer */ in execute() 130 index = 5; in execute() 164 /* Set 10 ms timer */ in execute() 171 /* Set 100 ms timer */ in execute() 191 /* Set 1 ms timer */ in execute()
|
/openbmc/witherspoon-pfault-analysis/power-supply/ |
H A D | main.cpp | 72 // sequencer is asserted. It can take 50ms for the sequencer to assert the in main() 74 // supply can take a max of 100ms from ENABLE# asserted to 12V in spec. in main() 76 // assert DC_GOOD (and update POWER_GOOD Negated), +/1 100ms. That would in main() 77 // give us a 1250ms delay from state=1 to checking STATUS_WORD, however, in main() 79 // a second, so rounding up from 1 to 5 seconds. in main() 80 std::chrono::seconds powerOnDelay(5); in main()
|
/openbmc/phosphor-power/power-supply/ |
H A D | main.cpp | 78 // sequencer is asserted. It can take 50ms for the sequencer to assert the in main() 80 // supply can take a max of 100ms from ENABLE# asserted to 12V in spec. in main() 82 // assert DC_GOOD (and update POWER_GOOD Negated), +/1 100ms. That would in main() 83 // give us a 1250ms delay from state=1 to checking STATUS_WORD, however, in main() 85 // a second, so rounding up from 1 to 5 seconds. in main() 86 std::chrono::seconds powerOnDelay(5); in main()
|
/openbmc/openbmc-test-automation/network/ |
H A D | test_network_nping.robot | 15 ${delay} 200ms 51 # by default it sends 100 TCP packets at 5 packets/second. 73 # Max rtt: 193.010ms | Min rtt: 193.010ms | Avg rtt: 193.010ms
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Ipmi/ |
H A D | SOL.interface.yaml | 41 Character Accumulate Interval in 5ms increments. BMC will wait this 59 Retry Interval in 10ms increments.
|
/openbmc/qemu/hw/nvme/ |
H A D | dif.c | 72 pil = ns->lbaf.ms - nvme_pi_tuple_size(ns); in nvme_dif_pract_generate_dif_crc16() 79 for (; buf < end; buf += ns->lbasz, mbuf += ns->lbaf.ms) { in nvme_dif_pract_generate_dif_crc16() 106 pil = ns->lbaf.ms - 16; in nvme_dif_pract_generate_dif_crc64() 113 for (; buf < end; buf += ns->lbasz, mbuf += ns->lbaf.ms) { in nvme_dif_pract_generate_dif_crc64() 129 dif->g64.sr[5] = *reftag; in nvme_dif_pract_generate_dif_crc64() 224 r |= (uint64_t)dif->g64.sr[5]; in nvme_dif_prchk_crc64() 311 pil = ns->lbaf.ms - nvme_pi_tuple_size(ns); in nvme_dif_check() 316 for (bufp = buf; bufp < end; bufp += ns->lbasz, mbuf += ns->lbaf.ms) { in nvme_dif_check() 359 int64_t bytes = (mlen / ns->lbaf.ms) << ns->lbaf.ds; in nvme_dif_mangle_mdata() 366 pil = ns->lbaf.ms - nvme_pi_tuple_size(ns); in nvme_dif_mangle_mdata() [all …]
|
/openbmc/bmcweb/redfish-core/src/utils/ |
H A D | time_utils.cpp | 163 * Example output: "P12DT1M5.5S" 166 std::string toDurationString(std::chrono::milliseconds ms) in toDurationString() argument 168 if (ms < std::chrono::milliseconds::zero()) in toDurationString() 173 std::chrono::days days = std::chrono::floor<std::chrono::days>(ms); in toDurationString() 174 ms -= days; in toDurationString() 176 std::chrono::hours hours = std::chrono::floor<std::chrono::hours>(ms); in toDurationString() 177 ms -= hours; in toDurationString() 179 std::chrono::minutes minutes = std::chrono::floor<std::chrono::minutes>(ms); in toDurationString() 180 ms -= minutes; in toDurationString() 182 std::chrono::seconds seconds = std::chrono::floor<std::chrono::seconds>(ms); in toDurationString() [all …]
|
/openbmc/openbmc/meta-arm/meta-arm/recipes-security/optee-ftpm/ |
H A D | optee-ftpm_git.bb | 3 HOMEPAGE = "https://github.com/microsoft/ms-tpm-20-ref/" 17 LIC_FILES_CHKSUM = "file://LICENSE;md5=5a3925ece0806073ae9ebbb08ff6f11e" 23 SRC_URI = "gitsm://github.com/Microsoft/ms-tpm-20-ref;branch=main;protocol=https \ 47 # the code we're building (https://github.com/microsoft/ms-tpm-20-ref/pull/108) lets just
|
/openbmc/openbmc/poky/meta/recipes-extended/iputils/iputils/ |
H A D | CVE-2025-47268.patch | 3 Date: Mon, 5 May 2025 23:55:57 +0200 24 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.061 ms 33 64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.565 ms 36 2 packets transmitted, 2 received, +2 duplicates, 0% packet loss, time 1002ms 38 rtt min/avg/max/mdev = 0.000/1740158335919320.832/6960633343677281.965/-1623514645242292.-224 ms 51 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.057 ms 60 64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.111 ms 63 2 packets transmitted, 2 received, +2 duplicates, 0% packet loss, time 101ms 64 rtt min/avg/max/mdev = 0.000/0.042/0.111/0.046 ms
|