mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 01:13:30 +00:00
Minor fixes for profiler documentation.
profiler/mercury_profile.m:
Fix some comments.
profiler/options.m:
Add a missing period.
This commit is contained in:
@@ -78,7 +78,7 @@ postprocess_options(Args, !IO) :-
|
|||||||
VeryVerbose = no
|
VeryVerbose = no
|
||||||
),
|
),
|
||||||
|
|
||||||
% Any empty list of arguments implies that we must build the call
|
% An empty list of arguments implies that we must build the call
|
||||||
% graph from the dynamic information.
|
% graph from the dynamic information.
|
||||||
(
|
(
|
||||||
Args = [],
|
Args = [],
|
||||||
@@ -116,7 +116,7 @@ usage_error(ErrorMessage, !IO) :-
|
|||||||
|
|
||||||
% Display short_usage message.
|
% Display short_usage message.
|
||||||
% XXX the only place we call short_usage is in usage_error above.
|
% XXX the only place we call short_usage is in usage_error above.
|
||||||
% Also: why does the default name of the executable differ betweeen
|
% Also: why does the default name of the executable differ between
|
||||||
% the two?
|
% the two?
|
||||||
:- pred short_usage(io.text_output_stream::in, io::di, io::uo) is det.
|
:- pred short_usage(io.text_output_stream::in, io::di, io::uo) is det.
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
% vim: ft=mercury ts=4 sw=4 et
|
% vim: ft=mercury ts=4 sw=4 et
|
||||||
%---------------------------------------------------------------------------%
|
%---------------------------------------------------------------------------%
|
||||||
% Copyright (C) 1995-1997, 2000-2001, 2004-2006, 2011-2012 The University of Melbourne.
|
% Copyright (C) 1995-1997, 2000-2001, 2004-2006, 2011-2012 The University of Melbourne.
|
||||||
% Copyright (C) 2015, 2019, 2021, 2023 The Mercury team.
|
% Copyright (C) 2015, 2019, 2021, 2023, 2026 The Mercury team.
|
||||||
% This file may only be copied under the terms of the GNU General
|
% This file may only be copied under the terms of the GNU General
|
||||||
% Public License - see the file COPYING in the Mercury distribution.
|
% Public License - see the file COPYING in the Mercury distribution.
|
||||||
%---------------------------------------------------------------------------%
|
%---------------------------------------------------------------------------%
|
||||||
@@ -189,7 +189,7 @@ options_help(Stream, !IO) :-
|
|||||||
"\tSelect what to profile: time, amount of memory allocated, or",
|
"\tSelect what to profile: time, amount of memory allocated, or",
|
||||||
"\tnumber of memory allocations (regardless of size).",
|
"\tnumber of memory allocations (regardless of size).",
|
||||||
"-m",
|
"-m",
|
||||||
"\tSame as `--profile memory-words'",
|
"\tSame as `--profile memory-words'.",
|
||||||
"-M",
|
"-M",
|
||||||
"\tSame as `--profile memory-cells'.",
|
"\tSame as `--profile memory-cells'.",
|
||||||
"-t",
|
"-t",
|
||||||
|
|||||||
Reference in New Issue
Block a user