[gambit-list] Running times: real vs. CPU
Marc Feeley
feeley at iro.umontreal.ca
Sun Apr 26 10:10:39 EDT 2009
On 25-Apr-09, at 9:58 PM, Taylor Venable wrote:
> 478 [ taylor @ zeltennia ] : ~/cvs_public/Programs/Euler/Scheme > cp
> 092.scm compiled.scm
> 479 [ taylor @ zeltennia ] : ~/cvs_public/Programs/Euler/Scheme >
> gsc -link compiled.scm
> 480 [ taylor @ zeltennia ] : ~/cvs_public/Programs/Euler/Scheme >
> gcc -O2 -D___SINGLE_HOST \
> -I/opt/gambit/include -L/opt/gambit/lib compiled.c
> compiled_.c -lgambc -lutil -lm
> 481 [ taylor @ zeltennia ] : ~/cvs_public/Programs/Euler/Scheme >
> time ./a.out
>
> SOLUTION = 8581147
>
> real 0m44.409s
> user 0m18.460s
> sys 0m7.410s
>
> Am I doing something wrong here?
>
> Thanks,
This sounds like more than one UNIX process is running. Can you try
running "top" while you execute ./a.out ?
Marc
More information about the Gambit-list
mailing list