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.8 - OsoMP_NewBlockType
Inserts a new block type into the profile.void OsoMP_NewBlockType( UInt8 blocktype, UInt32 rgbcolour, const char* name, const char* formatstring );
blocktype |
Application defined unique identifer for this block type. This value must be greater than OSOMP_FirstUserBlockType (10) and, obviously, less than 256. |
rgbcolour |
Defines the colour that will be used for these blocks. Colours are 32-bit values with the format xRGB. I.e., the top byte is unused and should be zero. |
name | Specifies the name that will be displayed to the user in the Oso Memory Profiler for blocks of this type. This should be the plural form of the name. |
formatstring |
Defines a format string that will be used to group similar blocks together. The format string for built in memory blocks and memory buckets is simply {size}. |