Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rudjigames/mtuner
MTuner is a C/C++ memory profiler and memory leak finder for Windows, PlayStation 3/4/5, Nintendo Switch, Android and other platforms
https://github.com/rudjigames/mtuner
memory memory-leak-finder memory-profiler optimization performance-analysis playstation3 playstation4 profiling tool
Last synced: 3 days ago
JSON representation
MTuner is a C/C++ memory profiler and memory leak finder for Windows, PlayStation 3/4/5, Nintendo Switch, Android and other platforms
- Host: GitHub
- URL: https://github.com/rudjigames/mtuner
- Owner: RudjiGames
- License: bsd-2-clause
- Created: 2017-08-24T02:11:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-12-16T15:59:08.000Z (26 days ago)
- Last Synced: 2025-01-08T22:18:34.244Z (3 days ago)
- Topics: memory, memory-leak-finder, memory-profiler, optimization, performance-analysis, playstation3, playstation4, profiling, tool
- Language: C++
- Homepage:
- Size: 6.96 MB
- Stars: 2,651
- Watchers: 70
- Forks: 152
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![MTuner logo](img/mtuner.png)
[![Build status](https://ci.appveyor.com/api/projects/status/8ops3q96bhvpoy4t?svg=true)](https://ci.appveyor.com/project/milostosic/mtuner)
[![License](https://img.shields.io/badge/license-BSD--2%20clause-blue.svg)](https://github.com/RudjiGames/MTuner/blob/master/LICENSE)**MTuner** is a C/C++ memory profiler and memory leak finder for Windows, PlayStation 3/4/5, Nintendo Switch, Android and other platforms.
**MTuner** utilizes a novel approach to memory profiling and analysis, keeping entire time-based history of memory operations. This gives an unique insight in memory related behavior of your software by making queries over the entire data set.
While **MTuner** was created for profiling C/C++ applications, it is possible to profile memory for programs written in other languages as long as there is corresponding debug symbol information. Users can convert DMD CodeView/DWARF debug symbols to PDB format using [cv2pdb](https://github.com/rainers/cv2pdb).
![MTuner screenshot](https://github.com/RudjiGames/MTuner/blob/master/img/mtuner_screenshot.png)
Source Code
======You can get the latest source code by cloning it from github:
git clone https://github.com/RudjiGames/MTuner.git
After cloning, we need to download dependencies:
git submodule init
git submodule updateDownload
======Binaries can be downloaded from [releases](https://github.com/RudjiGames/MTuner/releases) page
NB: If your application crashes while being profiled with **MTuner**, you can try adding **MTuner** folder to 'Exclusions' list under 'Virus & threat protection settings'
Documentation
======**MTuner** documentation can be found [here](https://RudjiGames.github.io/MTuner/).
Build
======**MTuner** uses [**Qt**](https://www.qt.io/) framework for user interface so it needs to be installed on the build machine. The build system is based on [**GENie**](https://github.com/bkaradzic/GENie) and [**build**](https://github.com/RudjiGames/build) in order to dramatically simplify managing build configurations and dependencies.
After cloning the repository and dependencies, here are the steps to build *MTuner*.
**MinGW**
$ cd MTuner/genie
$ genie --gcc=mingw-gcc gmake
$ cd ../../.build/windows/mingw-gcc/MTuner/projects/
$ make
MINGW environment variable must be set and point to the MinGW installation directory.
Tested with [TDM64 MinGW](http://tdm-gcc.tdragon.net/download) using [OpenMP package](http://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%205%20series/5.1.0-tdm64-1/gcc-5.1.0-tdm64-1-openmp.zip/download)**Visual Studio**
> cd MTuner/genie
> genie vs2022
Solution will be located here: *{Clone root}/.build/windows/vs2022/projects/MTuner/MTuner.sln*NB: building [**Qt**](https://www.qt.io/) based projects with [**build**](https://github.com/RudjiGames/build) requires Lua to be installed.
Environment variables are used to locate [**Qt**](https://www.qt.io/) installation, example:
set QTDIR_VS2022_x86=C:\\Qt\6.3.1\msvc2019_64 *
set QTDIR_VS2022_x64=C:\\Qt\6.3.1\msvc2019_64*\* Note that [**Qt**](https://www.qt.io/) deprecated 32bit builds which is why both variables point to same location.*
License (BSD 2-clause)
======Copyright 2023 Milos Tosic. All rights reserved.
https://github.com/RudjiGames/MTuner
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY COPYRIGHT HOLDER ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.