We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29c5f4b commit 16ffef7Copy full SHA for 16ffef7
1 file changed
mprof
@@ -199,13 +199,14 @@ def run_action():
199
help="""Monitors forked processes as well (sum up all process memory)""")
200
201
(options, args) = parser.parse_args()
202
- print("{1}: Sampling memory every {0.interval}s".format(
203
- options, osp.basename(sys.argv[0])))
204
205
if len(args) == 0:
206
print("A program to run must be provided. Use -h for help")
207
sys.exit(1)
208
+ print("{1}: Sampling memory every {0.interval}s".format(
+ options, osp.basename(sys.argv[0])))
209
+
210
## Output results in a file called "mprofile_<YYYYMMDDhhmmss>.dat" (where
211
## <YYYYMMDDhhmmss> is the date-time of the program start) in the current
212
## directory. This file contains the process memory consumption, in Mb (one
0 commit comments