1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00
Bartosz Taudul b0fc0d5dcc
Check if rpmalloc has to be initialized before each operation.
The C++11 spec states in [basic.stc.thread] thread storage duration:

2. A variable with thread storage duration shall be initialized before its
   first odr-use (3.2) and, if constructed, shall be destroyed on thread exit.

Previously Tracy relied on the TLS data being initialized:
- During thread creation (MSVC).
- Or during first use in a thread, but the initialization was performed for
  the whole TLS block.

It seems that new compilers are more granular with how they perform the
initialization, hence rpmalloc init has to be checked before each allocation,
as it cannot be "folded" into, for example, initialization of the profiler
itself.
2021-05-31 02:31:42 +02:00
2020-08-15 02:10:14 +02:00
2021-05-15 14:56:38 +02:00
2021-01-22 02:54:01 +01:00
2020-07-11 12:26:01 +03:00
2020-09-24 01:31:24 +02:00
2021-05-01 18:10:29 +02:00
2020-06-10 01:52:17 +02:00
2021-05-31 02:19:35 +02:00
2021-05-31 02:19:35 +02:00
2020-09-24 01:31:23 +02:00
2020-05-02 14:52:57 -07:00
2021-02-06 23:57:14 +01:00
2021-05-01 16:31:06 -07:00
2021-02-10 02:43:05 +01:00
2021-05-22 01:12:33 +02:00
2021-05-01 16:56:52 -07:00
2020-01-08 18:16:17 +01: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 (C, C++11, Lua), GPU (OpenGL, Vulkan, OpenCL, Direct3D 11/12), memory, locks, context switches, per-frame screenshots and more.

For usage and build process instructions, consult the user manual at the following address.

Changelog

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

Languages
C++ 90.8%
C 5.3%
TeX 2%
Python 0.9%
CMake 0.5%
Other 0.4%