|
From: | Dmitri A. Sergatskov |
Subject: | [Octave-bug-tracker] [bug #64975] Octave for Windows extremely slow |
Date: | Tue, 5 Dec 2023 15:38:36 -0500 (EST) |
Follow-up Comment #10, bug #64975 (project octave): As far as I know cputime is approximately tic/toc multiply by number of threads. tic/toc more like wall time. E.g.: $ OMP_NUM_THREADS=16 octave octave:1> a = randn(5000); octave:2> tic; inv(a)*a; toc Elapsed time is 1.6827 seconds. octave:3> t1= cputime(); inv(a)*a; t2=cputime(); octave:4> t2-t1 ans = 24.022 octave:5> 1.6827*16 ans = 26.923 Dmitri. -- _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?64975> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |