projects
/
blender.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4006f8c
)
Blender might be compiled without guardedalloc again
author
Sergey Sharybin <sergey.vfx@gmail.com>
Thu, 15 Aug 2013 07:36:56 +0000
(07:36 +0000)
committer
Sergey Sharybin <sergey.vfx@gmail.com>
Thu, 15 Aug 2013 07:36:56 +0000
(07:36 +0000)
This is useful for benchmark tests, to make CPU cache
utilization as good as we could with current design.
intern/guardedalloc/intern/mallocn.c
patch
|
blob
|
history
diff --git
a/intern/guardedalloc/intern/mallocn.c
b/intern/guardedalloc/intern/mallocn.c
index 08ac2ce6effefea7cecc91346ccd6b185722dfbf..06ae2ee864d5470ed0abb008a239ed916fc8a4ff 100644
(file)
--- a/
intern/guardedalloc/intern/mallocn.c
+++ b/
intern/guardedalloc/intern/mallocn.c
@@
-1142,12
+1142,12
@@
void *MEM_dupallocN(const void *vmemh)
return newp;
}
-void *MEM_reallocN
(void *vmemh, size_t len
)
+void *MEM_reallocN
_id(void *vmemh, size_t len, const char *UNUSED(str)
)
{
return realloc(vmemh, len);
}
-void *MEM_recallocN
(void *vmemh, size_t len
)
+void *MEM_recallocN
_id(void *vmemh, size_t len, const char *UNUSED(str)
)
{
void *newp = NULL;