Adding Visual Annotate to your code
Streamline provides a set of macros that enable you to add images to the Timeline and Log views in your generated Analysis Reports.
To add visual annotations to your code, follow these steps:
- Include the files streamline_annotate.h and streamline_annotate.c in your project.
ANNOTATE_SETUPmacro to your code. It must be called before any other annotate macros are called.
ANNOTATE_VISUAL(data, length, str)macro into your code. Replace
datawith your image,
lengthwith the size of the data being written to the annotate file, and, optionally,
strwith a descriptive string to be included with the image.
- Build your code.
gatordis running then run your application and exercise the area of the code that emits the annotations.