Project: /_project.yaml Book: /_book.yaml
Defined in fuchsia.perfmon.cpu/perfmon.fidl
Fetch the performance monitor properties of the system.
Create a trace, allocating the needed trace buffers and other resources. “other resources” is basically a catch-all for other things that will be needed. This does not include reserving the events, that is done later by StageConfig()
.
Free all trace buffers and any other resources allocated for the trace. This is also done when the connection is closed. Tracing is first stopped if not already stopped. May be called multiple times.
Return the trace allocation configuration, if there is one.
Stage performance monitor specification for a cpu. Must be called with data collection off and after Initialize()
. Note: This doesn't actually configure the h/w, this just stages the values for subsequent use by Start()
.
Fetch performance monitor specification for a cpu, if it exists. Must be called with data collection off and after StageConfig()
.
Return a handle of a trace buffer, if it exists, and if descriptor
is valid. descriptor
is (0, 1, 2, ..., num_buffers
-1)
Turn on data collection. Must be called after Initialize()
+ StageConfig()
and with data collection off.
Turn off data collection. May be called any time after Initialize()
has been called and before May be called multiple times.
Defined in fuchsia.perfmon.cpu/generated
Defined in fuchsia.perfmon.cpu/generated
Defined in fuchsia.perfmon.cpu/generated
Defined in fuchsia.perfmon.cpu/perfmon.fidl
The properties of this system.
Defined in fuchsia.perfmon.cpu/perfmon.fidl
Defined in fuchsia.perfmon.cpu/perfmon.fidl
Passed to StageConfig()
to select the data to be collected.
Defined in fuchsia.perfmon.cpu/perfmon.fidl
The allocation configuration for a data collection run. This is generally the first call to allocate resources for a trace, “trace” is used generically here: == “data collection run”.
Defined in fuchsia.perfmon.cpu/generated
Defined in fuchsia.perfmon.cpu/generated
Defined in fuchsia.perfmon.cpu/generated
Type: uint64