MCPcopy Create free account
hub / github.com/Tencent/libco / get_tick_count

Function get_tick_count

co_hook_sys_call.cpp:149–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147
148
149static inline unsigned long long get_tick_count()
150{
151 uint32_t lo, hi;
152 __asm__ __volatile__ (
153 "rdtscp" : "=a"(lo), "=d"(hi)
154 );
155 return ((unsigned long long)lo) | (((unsigned long long)hi) << 32);
156}
157
158struct rpchook_connagent_head_t
159{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected