#include <xbyak_util.h>
Definition at line 374 of file xbyak_util.h.
◆ Clock()
Xbyak::util::Clock::Clock |
( |
| ) |
|
|
inline |
Definition at line 386 of file xbyak_util.h.
387 : clock_(0)
388 , count_(0)
389 {
390 }
◆ begin()
void Xbyak::util::Clock::begin |
( |
| ) |
|
|
inline |
◆ clear()
void Xbyak::util::Clock::clear |
( |
| ) |
|
|
inline |
Definition at line 402 of file xbyak_util.h.
402{ count_ = 0; clock_ = 0; }
◆ end()
void Xbyak::util::Clock::end |
( |
| ) |
|
|
inline |
◆ getClock()
uint64 Xbyak::util::Clock::getClock |
( |
| ) |
const |
|
inline |
◆ getCount()
int Xbyak::util::Clock::getCount |
( |
| ) |
const |
|
inline |
◆ getRdtsc()
static uint64 Xbyak::util::Clock::getRdtsc |
( |
| ) |
|
|
inlinestatic |
Definition at line 376 of file xbyak_util.h.
377 {
378#ifdef _MSC_VER
379 return __rdtsc();
380#else
381 unsigned int eax,
edx;
382 __asm__
volatile(
"rdtsc" :
"=a"(eax),
"=d"(
edx));
384#endif
385 }
static const Reg32 edx(Operand::EDX)
The documentation for this class was generated from the following file: