1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00
Björn Blissing e1b1fd72dc Wrap std::numeric_limits<T>::max() in parenthesis
The windows.h header file defines the macro max. If the max macro is include
it will lead to name collisions with the std::numeric_limits<T>::max() function.

One solution is to define NOMINMAX before the inclusion of windows.h.
However, that might be a demanding task for a large codebase. Defining the
NOMINMAX as global define may also break previous code.

Another to solution to the problem is to wrap the numeric_limits function in
parenthesis to instruct the compiler to treat it as a function and not a macro.

This commit wraps the std::numeric_limits<T>::max() calls in the public
interfacing header files, with parenthesis.
2023-08-17 10:03:52 +02:00
2022-12-20 00:54:08 +01:00
2023-07-19 14:01:27 +02:00
2023-01-05 23:36:01 +01:00
2022-12-23 19:40:58 +01:00
2020-07-11 12:26:01 +03:00
2022-04-16 00:13:10 +02:00
2023-04-16 00:22:05 +02:00
2023-04-05 17:19:48 +02:00
2023-01-31 22:55:18 +01:00
2023-04-05 17:16:24 +02:00
2023-04-20 22:48:29 +02:00
2023-05-22 21:09:38 +02:00
2022-02-11 20:22:53 +01:00
2023-01-09 00:22:22 +01:00
2023-07-31 09:47:04 -04:00
2022-06-04 16:26:22 +02:00

Tracy Profiler

Sponsor

A real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications.

Tracy supports profiling CPU (Direct support is provided for C, C++, and Lua integration. At the same time, third-party bindings to many other languages exist on the internet, such as Rust, Zig, C#, OCaml, Odin, etc.), GPU (All major graphic APIs: OpenGL, Vulkan, Direct3D 11/12, OpenCL.), memory allocations, locks, context switches, automatically attribute screenshots to captured frames, and much more.

Introduction to Tracy Profiler v0.2
New features in Tracy Profiler v0.3
New features in Tracy Profiler v0.4
New features in Tracy Profiler v0.5
New features in Tracy Profiler v0.6
New features in Tracy Profiler v0.7
New features in Tracy Profiler v0.8

Description
C++ frame profiler
Readme BSD-3-Clause 48 MiB
Languages
C++ 90.8%
C 5.3%
TeX 2%
Python 0.9%
CMake 0.5%
Other 0.4%