new-mem-traffic-meter new-micron-mtfc128gap-emmc-card
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

new-memory-profiler

Synopsis

new-memory-profiler ["name"] [granularity] ([ processors ... ] | list of processors) [parent] [-connect-all] ["group"] [-read-physical] [-read-logical] [-write-physical] [-write-logical] [-execute-physical] [-execute-logical]

Description

Creates a new memory profiler tool object which can be connected to processors which support instrumentation.

The granularity arguments sets the minimum granularity in bytes for how accesses are monitored, so for example, if set to 16, the tool will aggregate all accesses within each 16 bytes naturally aligned memory chunk. Larger the granularity settings will consume less memory when collecting the data.

The optional name argument can be used to set a name of the created object. If no name is given, a default name mprof followed by a sequence number is generated (mprof0, mprof1,...).

The optional processors argument, supports connecting one or several processors directly. With the optional parent argument a hierarchical object can be specified and all processors below this object matching the provider requirements will be connected to the tool. The -connect-all flag can be given to add a connection to all supported processors in the configuration.

The optional argument group let a user specify a named instrumentation group to use for the connection. (See add-instrumentation-group for details on named groups.)

Each new connection to the memory profiler can be configured by supplying the following flags:
-read-physical : Enabling profiling of reads to physical addresses
-read-logical : Enabling profiling of read to logical addresses
-write-physical : Enabling profiling of writes to physical addresses
-write-logical : Enabling profiling of writes to logical addresses
-execute-physical : Enabling profiling of instruction execution of physical addresses.
-execute-logical : Enabling profiling of instruction execution of logical addresses.

At least one flag must be specified when connecting.

Provided By

memory-profiler
new-mem-traffic-meter new-micron-mtfc128gap-emmc-card