FARGOS/VISTA Object Management Environment Core  ..
FARGOS/VISTA Object Management Environment Core Table of Contents
IAPerf.h File Reference
#include <stdio.h>

Go to the source code of this file.

Macros

#define PERFINITMHZ(clkspd)
 
#define PERFREPORT   printf("time elapsed = %f sec\n", ((double) clocks) / clockspeed);
 
#define PERFSTART   clocks = rdtsc();
 
#define PERFSTOP   clocks = rdtsc() - clocks;
 

Functions

unsigned __int64 rdtsc ()
 

Macro Definition Documentation

◆ PERFINITMHZ

#define PERFINITMHZ (   clkspd)
Value:
unsigned __int64 clocks; \
double clockspeed = (double) 1000000 * clkspd;

◆ PERFREPORT

#define PERFREPORT   printf("time elapsed = %f sec\n", ((double) clocks) / clockspeed);

◆ PERFSTART

#define PERFSTART   clocks = rdtsc();

◆ PERFSTOP

#define PERFSTOP   clocks = rdtsc() - clocks;

Function Documentation

◆ rdtsc()

unsigned __int64 rdtsc ( )
Generated: Tue Jul 28 2020 16:03:26
Support Information