MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / nop

Function nop

modules/core/task/src/task2.cpp:16–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14#endif
15
16inline void nop() {
17#if defined(_WIN32)
18 __nop();
19#else
20 __asm__ __volatile__("nop");
21#endif
22}
23
24// https://en.wikipedia.org/wiki/Xorshift
25class FastRnd {

Callers 1

spinForWorkMethod · 0.85

Calls 1

__nopFunction · 0.85

Tested by

no test coverage detected