On Wed, 15 Apr 2015, oleg_komashko(a)ukr.net wrote:
Sample output
? set stopwatch
? vvv100 = rounds(40,50000,100)
Generated matrix vvv100
? tt = $stopwatch
Replaced scalar tt = 2971.66
? printf "Elapsed time = %g seconds\n", tt
Elapsed time = 2971.66 seconds
Here everything is OK.
Now
? set stopwatch
? vvv150 = rounds(40,50000,150)
Generated matrix vvv150
? tt = $stopwatch
Replaced scalar tt = -2313.92
? printf "Elapsed time = %g seconds\n", tt
Elapsed time = -2313.92 seconds
The time is negative
System: XP, 1.10.90, outdated by a week
Your system is lying to gretl. That is, the Windows function
QueryPerformanceCounter() is giving incorrect results. The system
hardware or firmware may be bad.
Allin