blob: e7d27174a7e29702c5721e3e404b8c71e0861254 [file] [log] [blame] [edit]
#include "delay.h"
#include "processor.h"
void delay(u64 count)
{
u64 start = rdtsc();
do {
pause();
} while (rdtsc() - start < count);
}