Skip to content

Commit

Permalink
Update co_routine.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
wechatsunny authored Aug 2, 2017
1 parent f16db64 commit ac7d19a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion co_routine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ static unsigned long long counter(void)
register uint32_t lo, hi;
register unsigned long long o;
__asm__ __volatile__ (
"rdtscp" : "=a"(lo), "=d"(hi):: rcx(%rcx)
"rdtscp" : "=a"(lo), "=d"(hi)::"%rcx"
);
o = hi;
o <<= 32;
Expand Down

0 comments on commit ac7d19a

Please sign in to comment.