Skip to content

Commit

Permalink
8300042: Improve CPU related JFR events descriptions
Browse files Browse the repository at this point in the history
Backport-of: e326b86d37cec3b395b88598cf30ce4239732a15
  • Loading branch information
MBaesken committed Mar 23, 2023
1 parent 3b64bde commit 8a2425d
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/hotspot/share/jfr/metadata/metadata.xml
Expand Up @@ -709,22 +709,28 @@
<Field type="string" name="commandLine" label="Command Line" />
</Event>

<Event name="CPUInformation" category="Operating System, Processor" label="CPU Information" period="endChunk">
<Event name="CPUInformation" category="Operating System, Processor" label="CPU Information"
description="Characteristics and descriptions of the processor(s) the JVM is running on"
period="endChunk">
<Field type="string" name="cpu" label="Type" />
<Field type="string" name="description" label="Description" />
<Field type="uint" name="sockets" label="Sockets" />
<Field type="uint" name="cores" label="Cores" />
<Field type="uint" name="hwThreads" label="Hardware Threads" />
</Event>

<Event name="CPUTimeStampCounter" category="Operating System, Processor" label="CPU Time Stamp Counter" period="endChunk">
<Event name="CPUTimeStampCounter" category="Operating System, Processor" label="CPU Time Stamp Counter"
description="Information about the CPU time stamp mechanism / (RD)TSC"
period="endChunk">
<Field type="boolean" name="fastTimeEnabled" label="Fast Time" />
<Field type="boolean" name="fastTimeAutoEnabled" label="Trusted Platform" />
<Field type="long" contentType="hertz" name="osFrequency" label="OS Frequency" />
<Field type="long" contentType="hertz" name="fastTimeFrequency" label="Fast Time Frequency" />
</Event>

<Event name="CPULoad" category="Operating System, Processor" label="CPU Load" description="OS CPU Load" period="everyChunk">
<Event name="CPULoad" category="Operating System, Processor" label="CPU Load"
description="Information about the recent CPU usage of the JVM process"
period="everyChunk">
<Field type="float" contentType="percentage" name="jvmUser" label="JVM User" />
<Field type="float" contentType="percentage" name="jvmSystem" label="JVM System" />
<Field type="float" contentType="percentage" name="machineTotal" label="Machine Total" />
Expand Down

1 comment on commit 8a2425d

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.