On Mon, 26 May 2025 15:42:57 GMT, Erik Gahlin <egah...@openjdk.org> wrote:
> > I will see if I can create an example with some other events that show the > > syntax, and then you can fill in the CPU-Time events. > > I have a Mac, so I could not try it with an actual recording, but something > like this: > > ``` > [application.cpu-time-statistics] > label = "CPU Time Samples Statistics" > form = "COLUMN 'Successful Samples', 'Failed Samples', 'Total Samples', 'Lost > Samples' > SELECT COUNT(S.startTime), COUNT(F.startTime), Count(A.startTime), > SUM(L.lostSamples) > FROM > CPUTimeSample AS S, > CPUTimeSample AS F, > CPUTimeSample AS A, > CPUTimeSampleLoss AS L > WHERE > S.failed = 'false' AND > F.failed = 'true'" > ``` I implemented this now and removed the other statistics related views. ------------- PR Comment: https://git.openjdk.org/jdk/pull/25302#issuecomment-2917155602