Grid 0.7.0
PerfCount.h File Reference
#include <sys/time.h>
#include <ctime>
#include <chrono>
#include <string.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/syscall.h>

Go to the source code of this file.

Data Structures

class  PerformanceCounter
struct  PerformanceCounter::PerformanceCounterConfig

Macros

#define __SSC_START
#define __SSC_STOP

Functions

 NAMESPACE_BEGIN (Grid)
uint64_t cyclecount (void)
 NAMESPACE_END (Grid)

Macro Definition Documentation

◆ __SSC_START

#define __SSC_START

Definition at line 35 of file PerfCount.h.

◆ __SSC_STOP

#define __SSC_STOP

Definition at line 36 of file PerfCount.h.

Function Documentation

◆ NAMESPACE_BEGIN()

NAMESPACE_BEGIN ( Grid )

◆ cyclecount()

uint64_t cyclecount ( void )
inline

Definition at line 101 of file PerfCount.h.

Referenced by PerformanceCounter::Start(), and PerformanceCounter::Stop().

◆ NAMESPACE_END()

NAMESPACE_END ( Grid )