mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-23 14:39:34 +02:00
+ slowcpu define
This commit is contained in:
parent
9813eb9048
commit
ff64dacf25
@ -24,7 +24,15 @@ function GetRealTime : Real;
|
|||||||
{$pop}
|
{$pop}
|
||||||
|
|
||||||
const
|
const
|
||||||
|
{$if defined(cpuarm) or defined(cpuavr) or defined(cpui8086) or defined(cpum68k) or defined(cpumips) or defined(cpuz80)}
|
||||||
|
{$define slowcpu}
|
||||||
|
{$endif}
|
||||||
|
|
||||||
|
{$ifdef slowcpu}
|
||||||
|
ITERATIONS = 32768;
|
||||||
|
{$else slowcpu}
|
||||||
ITERATIONS = 524288;
|
ITERATIONS = 524288;
|
||||||
|
{$endif slowcpu}
|
||||||
INTERNAL_LOOPS = 64;
|
INTERNAL_LOOPS = 64;
|
||||||
|
|
||||||
{ TTestAncestor }
|
{ TTestAncestor }
|
||||||
|
Loading…
Reference in New Issue
Block a user