ARM DS-5 Manual page 86

Hide thumbs Also See for DS-5:
Table of Contents

Advertisement

ARM DUI 0482K
ID120712
Unless you are running out of file handles, closing the annotate file on completion is optional.
Use the following basic annotate macros in your code:
ANNOTATE_SETUP()
Call this macro before any other annotate macros to setup annotation.
ANNOTATE_DEFINE()
Like
ANNOTATE_SETUP()
your code for annotation to work. Unlike
where
ANNOTATE_DEFINE()
ANNOTATE(string)
This functions adds a string annotation. Because the
define a specific channel, the annotation is added to channel 0 by default.
ANNOTATE_CHANNEL(channel, string)
Adds a string annotation to a channel defined by the numeric identifier passed to
the
channel
Note
Annotation channels and groups are used to organize annotations within the
threads shown in the processes section of the Timeline view. Each annotation
channel appears on its own line under the thread. Channels may also be sorted by
groups and displayed under a group name that you define using the
ANNOTATE_NAME_GROUP
ANNOTATE_COLOR(color, string)
Works the in the same way as the basic
variable to define an interface display color for the annotation string.
ANNOTATE_CHANNEL_COLOR(channel, color, string)
Use this macro to define an annotation string, give it an color for display in the
interface, and assign it to a channel by passing a channel identifier to the
variable.
ANNOTATE_END()
This command terminates the annotation.
ANNOTATE_CHANNEL_END(channel)
Terminates the annotation for the given channel.
ANNOTATE_NAME_CHANNEL(channel, group, string)
Use this command to name a channel and attach it to a group. Enter a number for
the
channel
channel title for the
ANNOTATE_NAME_GROUP(group, string)
Use this command to give an annotation group a title. Pass a group identifier to
the
variable and a name for the group to the
group
Copyright © 2010-2012 ARM. All rights reserved.
Non-Confidential
, you must insert a single instance of
is called.
variable.
macro.
variable, the identifier of a valid group for
variable.
string
Annotate and the Log View
ANNOTATE_DEFINE()
, it does not matter
ANNOTATE_SETUP()
macro does not
ANNOTATE
macro, only use the
ANNOTATE
, and your own
group
variable.
string
in
color
channel
10-3

Advertisement

Table of Contents
loading

Table of Contents