Comments (3)
Hi, I recently added a new interface to redirect output by allowing to pass in an explicit callback. That should at least make it easier to integrate into a UI or something.
typedef void (mi_output_fun)(const char* msg);
void mi_register_output(mi_output_fun* out); // for verbose messages etc.
void mi_stats_print(mi_output_fun* out);
from mimalloc.
Ah, I see, I like this. A bit tricky as I am using all the printf functions to format the output.
from mimalloc.
This should be enough to close this issue
from mimalloc.
Related Issues (20)
- Data race with `mi_page_s`'s `flags` field HOT 2
- Documentation typo: malloc(count, size) = malloc(p, count * size) HOT 1
- tag v1.8.4 and v2.1.4 may be missing HOT 1
- Block sizes for huge pages seem inconsistent HOT 4
- Mismatched use of fiber and thread locals HOT 10
- Multiple large pages per segment cause `mi_segment_insert_in_free_queue` to fail HOT 1
- [Feature Request] Support of `musl libc` HOT 3
- mimalloc vs2015 debug version is slower than windows malloc, is there any option to accelerate the speed?
- mimalloc vs2015 debug version is slower than windows malloc, is there any option to accelerate the speed?
- Debug memory allocation HOT 1
- `slice_count` overflow for very large allocations HOT 2
- Calling mi_heap_collect does not decommits all unused pages HOT 2
- `unix/prim.c` uses deprecated Apple `TARGET_` symbols HOT 1
- Patching a 32-bit image with `minject` doesn't tell you to use `minject32`. HOT 1
- Segment check range exceeds 40TB for asan builds HOT 1
- Test 'malloc-nomem1' failure on 32-bit architectures after v2.1.4 HOT 1
- 2.1.4 Failure build for ppc64le error: โ__builtin_thread_pointerโ is not supported on this target HOT 12
- 2.1.4 and error mingw/msys2 HOT 4
- 2.1.4: build fail on centos7 HOT 7
- CMake install with namespace and add corresponding alias targets HOT 2
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 mimalloc.