Chameleon

Chameleon Commit Details

Date:2015-03-13 02:04:14 (5 years 8 months ago)
Author:ErmaC
Commit:2627
Parents: 2626
Message:Typo
Changes:
M/trunk/i386/libsaio/cpu.c

File differences

trunk/i386/libsaio/cpu.c
1616
1717
1818
19
19
2020
2121
2222
......
514514
515515
516516
517
517
518518
519519
520520
......
788788
789789
790790
791
791
792
793
794
792795
793
796
794797
795798
796799
#if DEBUG_CPU
#define DBG(x...)printf(x)
#else
#define DBG(x...)msglog(x)
#define DBG(x...)
#endif
/*
tscFrequency = measure_tsc_frequency();
DBG("cpu freq classic = 0x%016llx\n", tscFrequency);
/* if usual method failed */
// if usual method failed
if ( tscFrequency < 1000 )//TEST
{
tscFrequency = timeRDTSC() * 20;//measure_tsc_frequency();
DBG("%d\n", currcoef);
}
}
if (!cpuFrequency) cpuFrequency = tscFrequency;
if (!cpuFrequency)
{
cpuFrequency = tscFrequency;
}
}
#if 0
if (!fsbFrequency)
{

Archive Download the corresponding diff file

Revision: 2627