MCPcopy Create free account
hub / github.com/coreboot/coreboot / stopwatch_duration_msecs

Function stopwatch_duration_msecs

src/include/timer.h:182–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182static inline int64_t stopwatch_duration_msecs(struct stopwatch *sw)
183{
184 return stopwatch_duration_usecs(sw) / USECS_PER_MSEC;
185}
186
187/*
188 * Helper macro to wait until a condition becomes true or a timeout elapses.

Callers 15

launch_charger_appletFunction · 0.85
mainboard_wait_for_hpdFunction · 0.85
launch_charger_appletFunction · 0.85
wait_for_hpdFunction · 0.85
wait_for_hpdFunction · 0.85
spi_flash_rpmc_poll_op2Function · 0.85
spi_flash_cmd_poll_bitFunction · 0.85
tpm2_claim_localityFunction · 0.85
tpm_vendor_probeFunction · 0.85
process_resetFunction · 0.85

Calls 1

stopwatch_duration_usecsFunction · 0.85

Tested by

no test coverage detected