Comments (3)
Am I missing something obvious?
No, some pieces of the C API may be missing. If something is needed it should be added.
from tracy.
This function is intended for use in bindings to other languages and expects certain contract to be followed. You can see example use in TracyLua.hpp:201
, where rpmalloc is initialized by a call to TracyLfqPrepare
.
from tracy.
This function is intended for use in bindings to other languages and expects certain contract to be followed.
Aha!
I am in a process of attempting a binding, although to an observability framework in an another compiled language. Since the language I’m looking to integrate has good C FFI, I hoped to do entirely with just the plain C APIs defined in the TracyC.h
and without having to write any additional C++ code.
Alas, the C API itself does not appear to include anything resembling an initialization function that one would call for before calling the alloc_srcloc
, however. Am I missing something obvious?
That said… I might actually be able to avoid use of alloc_srcloc
in the first place, and the other functions appear to work fine without any prior initialization.
from tracy.
Related Issues (20)
- Memory corruption in callstack recording HOT 12
- Call stack recording for macOS/iOS
- (Documentation request) Move the build instructions to Markdown HOT 1
- 4101 Compilation Warning in Visual Studio2022
- TRACY_MANUAL_LIFETIME crash with TracyLockable HOT 6
- Mutex instrumentation leaks HOT 4
- Info icons in the top bar are hard to hover due to layout changes during recording HOT 1
- Can you change the data collection side to socket-clinet? HOT 1
- Filter sampling statistics by thread
- Weird interaction between TRACY_MANUAL_LIFETIME and TRACY_DELAYED_INIT HOT 3
- Add ways to filter out all data from call stacks that include a certain method call
- Add ability to search memory allocations for call stack method name
- Add ability to compare memory allocations of two traces
- Add option to show allocation indicator on thread view
- Thread IDs instead of names when profiling context switches on Windows HOT 2
- Tracy reliably segfaults trying to load this trace HOT 4
- Application hangs when connecting to profiler, only when GPU events have been submitted HOT 9
- guidance for integrating tracy on a non gaming application
- Ability to save profiler config/options?
- Unexpected behavior with administrator permissions and ON_DEMAND enabled HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tracy.