MCPcopy Create free account
hub / github.com/F-Stack/f-stack / flssbt

Function flssbt

freebsd/kern/kern_timeout.c:1342–1352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1340}
1341
1342static int
1343flssbt(sbintime_t sbt)
1344{
1345
1346 sbt += (uint64_t)sbt >> 1;
1347 if (sizeof(long) >= sizeof(sbintime_t))
1348 return (flsl(sbt));
1349 if (sbt >= SBT_1S)
1350 return (flsl(((uint64_t)sbt) >> 32) + 32);
1351 return (flsl(sbt));
1352}
1353
1354/*
1355 * Dump immediate statistic snapshot of the scheduled callouts.

Callers 1

sysctl_kern_callout_statFunction · 0.70

Calls 1

flslFunction · 0.50

Tested by

no test coverage detected