MCPcopy Create free account
hub / github.com/csmith-project/csmith / read_time

Function read_time

src/platform.cpp:61–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59#ifndef HAVE_ARC4RANDOM_BUF
60# if defined(__powerpc__) || defined(__powerpc64__)
61static inline unsigned long read_time(void)
62{
63 unsigned long a;
64 asm volatile("mftb %0" : "=r" (a));
65 return a;
66}
67# elif defined(WIN32)
68static unsigned __int64 read_time(void)
69{

Callers 1

platform_gen_seedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected