Andreas Enge on Thu, 03 Nov 2022 15:48:44 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- To: John Cremona <john.cremona@gmail.com>
- Subject: Re: timer output
- From: Andreas Enge <andreas.enge@inria.fr>
- Date: Thu, 3 Nov 2022 15:47:32 +0100
- Authentication-results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=andreas.enge@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr
- Cc: Pari Users <pari-users@pari.math.u-bordeaux.fr>
- Delivery-date: Thu, 03 Nov 2022 15:48:45 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=L/2czIKXOHx7e1pIIfXVsQbOpcCj4MFd4RPq6SqbyCQ=; b=D7o/0LebY/6vpPShrAJCC6cqX01BYYfKBVHXv6hASS5ncGZj0S+5qsqu D+/8X1EUgvn+svZZBXmiBg8nJz8S1ZU/sRvnwQLOtCrOSZ0RDS4PuApNQ aU5KV3rw3n8CQOE1O9UxGoNjBC/Uxe29h1HmXXx4GIW9TsCCclzeaKfVO o=;
- In-reply-to: <CAD0p0K4MbBjpKhUq5AVGkCZFbU44LnR7LBO=nMdWh8VxG+Om2Q@mail.gmail.com>
- References: <CAD0p0K4MbBjpKhUq5AVGkCZFbU44LnR7LBO=nMdWh8VxG+Om2Q@mail.gmail.com>
Hello John,
Am Thu, Nov 03, 2022 at 02:32:29PM +0000 schrieb John Cremona:
> cpu time = 2,013 ms, real time = 421 ms.
two times are printed when you use the parallel version, recognisable
by a line such as
threading engine: pthread
when starting GP.
Then "real time" is the wallclock time, and "cpu time" is the sum of the
CPU times spent by the different threads, the number of which is printed by
default ("nbthreads")
I see this, for instance:
? isprime (nextprime (10^300))
cpu time = 3,220 ms, real time = 1,685 ms.
which reflects well that I have two cores (and four threads), and that
ECPP is well parallelised, apparently.
Andreas