-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wall-clock time in statistics #127
Comments
I'd like to mention something a bit related to the On Mon, 26 Sep 2016 at 5:40:51 -0700, Takahiro Ueda wrote:
The commit c9e6f44 ("Error in Allocation EndSort/AssignDollar. Improved 0.03 sec + 0.00 sec: 0.03 sec out of 0.06 sec unless one also gets all the other stuff that comes without -q. I agree it is natural to omit statistics information if the "quiet" In fact, I have a patch locally that reverts to the old behavior: diff --git a/sources/startup.c b/sources/startup.c
How would you assess this situation? Would you accept a patch Sorry if this is hijacking the thread too much, but it is related. |
This option is for printing the wall-clock time in statistics on the master. This is not applied to statistics on workers. Command line option: -W Syntax: #:wtimestats on On wtimestats; Off wtimestats;
@crmafra I don't know whether your patch is relevant to others. If I need only the final timing information, then I would turn off all the statistics/printings, or just use the |
Printing of statistics is a powerful built-in feature to analyse which part of the program (module) is a bottleneck (e.g., with https://gist.github.com/tueda/3e1b2bec8545c48737c7). But for multithreading, this becomes less useful because FORM prints the CPU time and there are cases that worker threads get busy while the master is idle. One can manually insert a code printing the elapsed time with
TIMER_
, though, it would be nice to have an option likeOn MasterWallClockStatistics
(or a better name) such that the wall-clock time is printed in statistics for the master thread:The text was updated successfully, but these errors were encountered: