RudjiGames / MTuner

MTuner is a C/C++ memory profiler and memory leak finder for Windows, PlayStation 4 and 3, Android and other platforms
BSD 2-Clause "Simplified" License
2.63k stars 145 forks source link

Commandline analysis gives incorrect results #85

Closed StephenHillAtViaivi closed 1 year ago

StephenHillAtViaivi commented 1 year ago
$ ./MTuner.com -p "c:/Views/cue/tm_build_system/build/unittest64/seg_unittest.exe"
Copyright (c) 2022 by Milos Tosic. All rights reserved.

Capture location: C:\Users\hil71789\AppData\Roaming\MTuner\

Does not output what the full pathaname is, so have to find it, which is not great if we had multiple files here as would be difficult to tell which is which:

$ dir "C:\Users\hil71789\AppData\Roaming\MTuner"
seg_unittest.2022.12.11.11.22.29.926.MTuner
$ ./MTuner.com -i seg_unittest.2022.12.11.11.22.29.926.MTuner -o log.txt
Copyright (c) 2022 by Milos Tosic. All rights reserved.
11:25:00;192;192mDEBUG Building analysis data...

Analysis doesn't seem to be working via commandline:

$ cat log.txt
MTuner v1.0 analysis log file
Copyright (c) 2019 by Milos Tosic

----------------------------------------
Memory usage            : 0
Memory usage at peak    : 0
Overhead                : 0
Overhead at peak        : 0
Number of operations    : 0
Number of allocations   : 0
Number of reallocations : 0
Number of frees         : 0
Number of memory leaks  : 0
----------------------------------------

But loading this into the graphical program it works fine - image

milostosic commented 1 year ago

Just tested with 4.5.1, seems to be working fine.