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

Function get_cyclecount

freebsd/amd64/include/cpu.h:89–94  ·  view source on GitHub ↗

* Return contents of in-cpu fast counter as a sort of "bogo-time" * for random-harvesting purposes. */

Source from the content-addressed store, hash-verified

87 * for random-harvesting purposes.
88 */
89static __inline u_int64_t
90get_cyclecount(void)
91{
92
93 return (rdtsc());
94}
95
96#define MEMSET_EARLY_FUNC memset_std
97#define MEMCPY_EARLY_FUNC memcpy_std

Callers

nothing calls this directly

Calls 1

rdtscFunction · 0.70

Tested by

no test coverage detected