mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 11:34:38 +03:00
update test files and overriding
This commit is contained in:
parent
7091670c22
commit
e4caee5f55
9 changed files with 67 additions and 41 deletions
|
@ -3,11 +3,10 @@
|
|||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
||||
//#include <mimalloc.h>
|
||||
|
||||
#include <mimalloc.h>
|
||||
|
||||
int main() {
|
||||
//mi_stats_reset();
|
||||
mi_version(); // ensure mimalloc library is linked
|
||||
void* p1 = malloc(78);
|
||||
void* p2 = malloc(24);
|
||||
free(p1);
|
||||
|
@ -26,6 +25,6 @@ int main() {
|
|||
//free(p1);
|
||||
//p2 = malloc(32);
|
||||
//mi_free(p2);
|
||||
|
||||
mi_stats_print(NULL);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue