Creates a new sr_ticks object which can be connected to a processor which supports instrumentation.
This tool measures how long time each service-routine takes to commit (both in the generated JIT code and the interpreter). This can be used to find instructions which executes slowly and possibly should be optimized.
The optional name argument can be used to set a name of the created object. If no name is given, a default name sr_ticks followed by a sequence number is generated (sr_ticks0, sr_ticks1,...).
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.)
VMP on x86 targets is disabled by this instrumentation. The -with-vmp will enable VMP and the tool will only measure execution of the instructions outside of VMP.