#include "common.h"
#include "VrutApi.h"

#if USE_MERSENNE_TWISTER
#include "MersenneTwister.h"

// global generator
MTRand mtrand;
#endif

#ifndef __WINDOWS__
void cpuid(int CPUInfo[4], int InfoType, int ECXValue)
{
	__asm__ __volatile__ ("cpuid": "=a" (CPUInfo[0]), "=b" (CPUInfo[1]), "=c" (CPUInfo[2]), "=d" (CPUInfo[3]) : "a" (InfoType), "c" (ECXValue) );
}
#endif
