Table of Contents
1 - Introduction2 - Profiling your application
3 - User interface reference
4 - SDK Reference
Contact Information
Sales
Sales and licensing related questions should be sent to our sales team at:Feedback
If you have feedback regarding this website or any of our products, please use the following email address:Support
Questions related to problems you have encountered with either this website or any of our products should be directed to our support team at:Enquiries
Any other questions, or general enquiries should be sent to the following email address:4.1 - OsoMP_Allocate
Generates a new allocation event in the profile.void OsoMP_Allocate( UInt8 type, void* mem, UInt64 size, const OsoMPAttribute* attributes, UInt32 noofattributes );
type |
Specifies the type of memory block being allocated. This value can be one of the standard memory block types, or any custom type previously registered through a call to OsoMP_NewBlockType. |
mem | The memory address of the memory block. |
size | The size in bytes of the piece of memory being allocated. |
attributes |
Address of the first attribute in an array of attributes that will be appended to this event. This parameter can be NULL if no custom attributes are required for this memory block. |
noofattributes | The number of entries in the array pointed to by the attributes parameter. |
Allocation events should be paired with free events. Allocations which do not have associated free events will be marked as memory leaks in the Oso Memory Profiler.