diff --git a/jmh-core/src/main/java/org/openjdk/jmh/profile/XCTraceTableHandler.java b/jmh-core/src/main/java/org/openjdk/jmh/profile/XCTraceTableHandler.java index 7068edec..fb49201b 100644 --- a/jmh-core/src/main/java/org/openjdk/jmh/profile/XCTraceTableHandler.java +++ b/jmh-core/src/main/java/org/openjdk/jmh/profile/XCTraceTableHandler.java @@ -50,6 +50,7 @@ class XCTraceTableHandler extends DefaultHandler { static final String SAMPLE_RATE = "sample-rate-micro-seconds"; static final String FRAME = "frame"; static final String BACKTRACE = "backtrace"; + static final String TAGGED_BACKTRACE = "tagged-backtrace"; static final String TEXT_ADDRESSES = "text-addresses"; static final String BINARY = "binary"; static final String SAMPLE_TIME = "sample-time"; diff --git a/jmh-core/src/main/java/org/openjdk/jmh/profile/XCTraceTableProfileHandler.java b/jmh-core/src/main/java/org/openjdk/jmh/profile/XCTraceTableProfileHandler.java index de2ea3e8..1cfb31f9 100644 --- a/jmh-core/src/main/java/org/openjdk/jmh/profile/XCTraceTableProfileHandler.java +++ b/jmh-core/src/main/java/org/openjdk/jmh/profile/XCTraceTableProfileHandler.java @@ -150,6 +150,13 @@ private T peek() { return res; } + private T tryPeek() { + if (entriesStack.isEmpty()) { + return null; + } + return peek(); + } + private LongHolder popAndUpdateLongHolder() { LongHolder value = pop(); if (isNeedToParseCharacters()) { @@ -212,6 +219,9 @@ public void startElement(String uri, String localName, String qName, Attributes return holder; }); break; + case XCTraceTableHandler.TAGGED_BACKTRACE: + pushCachedOrNew(attributes, id -> new ValueHolder(id)); + break; case XCTraceTableHandler.BINARY: pushCachedOrNew(attributes, id -> new ValueHolder<>(id, parseName(attributes))); break; @@ -253,10 +263,25 @@ public void endElement(String uri, String localName, String qName) { LongHolder value = popAndUpdateLongHolder(); currentSample.setWeight(value.getValue()); break; - case XCTraceTableHandler.BACKTRACE: + case XCTraceTableHandler.BACKTRACE: { + Frame topFrame = this.>pop().getValue(); + // Backtrace may be wrapped into a tagged-backtrace element. + // And it's the only case when something will be on the elements stack. + ValueHolder taggedBacktrace = tryPeek(); + if (taggedBacktrace != null) { + // Let's put the top frame into the tagged backtrace and let the next case clause handle it. + taggedBacktrace.setValue(topFrame); + } else { + // There's no tagged backtrace, so let's update the sample here. + currentSample.setTopFrame(topFrame.getAddress(), topFrame.getName(), topFrame.getBinary()); + } + break; + } + case XCTraceTableHandler.TAGGED_BACKTRACE: { Frame topFrame = this.>pop().getValue(); currentSample.setTopFrame(topFrame.getAddress(), topFrame.getName(), topFrame.getBinary()); break; + } case XCTraceTableHandler.BINARY: ValueHolder bin = pop(); this.peek().setBinary(bin.getValue()); diff --git a/jmh-core/src/test/java/org/openjdk/jmh/profile/XCTraceTableProfileHandlerTest.java b/jmh-core/src/test/java/org/openjdk/jmh/profile/XCTraceTableProfileHandlerTest.java index 5c1574a1..0ed9f448 100644 --- a/jmh-core/src/test/java/org/openjdk/jmh/profile/XCTraceTableProfileHandlerTest.java +++ b/jmh-core/src/test/java/org/openjdk/jmh/profile/XCTraceTableProfileHandlerTest.java @@ -54,6 +54,11 @@ public void parseCpuProfileXcode14_0_1() throws Exception { verifyProfile(XCTraceTableHandler.ProfilingTableType.CPU_PROFILE, "cpu-profile.xcode14.0.1", false); } + @Test + public void parseCpuProfileXcode26_4_1() throws Exception { + verifyProfile(XCTraceTableHandler.ProfilingTableType.CPU_PROFILE, "cpu-profile.xcode26.4.1", true); + } + @Test public void unsupportedSchema() throws Exception { XCTraceTableProfileHandler handler = new XCTraceTableProfileHandler(XCTraceTableHandler.ProfilingTableType.CPU_PROFILE, sample -> fail("Expected no samples")); @@ -66,6 +71,11 @@ public void parseCountersProfile() throws Exception { verifyProfile(XCTraceTableHandler.ProfilingTableType.COUNTERS_PROFILE, "counters-profile", true); } + @Test + public void parseCountersProfileXcode26_4_1() throws Exception { + verifyProfile(XCTraceTableHandler.ProfilingTableType.COUNTERS_PROFILE, "counters-profile.xcode26.4.1", true); + } + @Test public void parseCountersTimeProfile() throws Exception { verifyProfile(XCTraceTableHandler.ProfilingTableType.COUNTERS_PROFILE, "counters-time-profile", true); @@ -81,6 +91,11 @@ public void parseTimeProfileXcode12_5() throws Exception { verifyProfile(XCTraceTableHandler.ProfilingTableType.TIME_PROFILE, "time-profile.xcode12.5", false); } + @Test + public void parseTimeProfileXcode26_4_1() throws Exception { + verifyProfile(XCTraceTableHandler.ProfilingTableType.TIME_PROFILE, "time-profile.xcode26.4.1", true); + } + private void verifyProfile(XCTraceTableHandler.ProfilingTableType tableType, String profileName, boolean fixAddress) throws Exception { List samples = new ArrayList<>(); diff --git a/jmh-core/src/test/resources/org.openjdk.jmh.profile.xctrace/counters-profile.xcode26.4.1.csv b/jmh-core/src/test/resources/org.openjdk.jmh.profile.xctrace/counters-profile.xcode26.4.1.csv new file mode 100644 index 00000000..3252f840 --- /dev/null +++ b/jmh-core/src/test/resources/org.openjdk.jmh.profile.xctrace/counters-profile.xcode26.4.1.csv @@ -0,0 +1,324 @@ +412434541;1000000;0x0;;;0 0 +413550708;1000000;0x1882d6975;dyld4::Loader::LoaderRef::loader(dyld4::RuntimeState const&) const;dyld;979308 2144842 +414775125;1000000;0x188300b49;ByteStream::push_back(unsigned char, unsigned long long);dyld;1000071 2523478 +415270750;1000000;0x102d28505;c;a.out;1000054 3883899 +415734541;1000000;0x102d28505;c;a.out;1000054 4133868 +416195708;1000000;0x102d28505;c;a.out;1000050 4134037 +416657208;1000000;0x102d28505;c;a.out;1000049 4134157 +417125125;1000000;0x102d28505;c;a.out;1000054 4133712 +417588958;1000000;0x102d28539;c;a.out;1000052 4134147 +418050166;1000000;0x102d28505;c;a.out;1000054 4134151 +418511250;1000000;0x102d28505;c;a.out;1000054 4134102 +418972375;1000000;0x102d28505;c;a.out;1000051 4134037 +419433875;1000000;0x102d28505;c;a.out;1000059 4134157 +419897333;1000000;0x102d28505;c;a.out;1000049 4134089 +420358458;1000000;0x102d28505;c;a.out;1000054 4134037 +420827291;1000000;0x102d28505;c;a.out;1000046 4134011 +421288541;1000000;0x102d28505;c;a.out;1000049 4134157 +421752458;1000000;0x102d28505;c;a.out;1000054 4134102 +422213750;1000000;0x102d28505;c;a.out;1000051 4134037 +422654000;1000000;0x102d28505;c;a.out;1000054 4133910 +423067208;1000000;0x102d28505;c;a.out;1000054 4134102 +423480500;1000000;0x102d28505;c;a.out;1000049 4134024 +423893666;1000000;0x102d28505;c;a.out;1000058 4134157 +424307000;1000000;0x102d28505;c;a.out;1000051 4133972 +424720166;1000000;0x102d28505;c;a.out;1000051 4134011 +425134000;1000000;0x102d28505;c;a.out;1000062 4134053 +425551208;1000000;0x102d28505;c;a.out;1000054 4134063 +425964500;1000000;0x102d28505;c;a.out;1000051 4134011 +426377791;1000000;0x102d28505;c;a.out;1000041 4134011 +426790958;1000000;0x102d28505;c;a.out;1000049 4134118 +427204250;1000000;0x102d28505;c;a.out;1000054 4134089 +427617500;1000000;0x102d28505;c;a.out;1000051 4133998 +428030666;1000000;0x102d28505;c;a.out;1000049 4134144 +428444375;1000000;0x102d28505;c;a.out;1000051 4134076 +428857541;1000000;0x102d28505;c;a.out;1000051 4134024 +429270833;1000000;0x102d2853d;c;a.out;1000026 4134083 +429684041;1000000;0x102d28505;c;a.out;1000054 4134150 +430097375;1000000;0x102d28505;c;a.out;1000054 4134089 +430491916;1000000;0x102d28505;c;a.out;1000054 4134089 +430874791;1000000;0x102d28505;c;a.out;1000063 4134066 +431257791;1000000;0x102d28505;c;a.out;1000051 4134076 +431640625;1000000;0x102d28505;c;a.out;1000054 4134089 +432023500;1000000;0x102d28505;c;a.out;1000067 4134089 +432406625;1000000;0x102d28505;c;a.out;1000049 4134144 +432792125;1000000;0x102d28505;c;a.out;1000049 4133634 +433175125;1000000;0x102d28505;c;a.out;1000064 4134105 +433563500;1000000;0x102d28505;c;a.out;1000054 4133842 +433950041;1000000;0x102d28505;c;a.out;1000055 4133946 +434332916;1000000;0x102d28505;c;a.out;1000049 4134157 +434716500;1000000;0x102d28505;c;a.out;1000054 4134102 +435103916;1000000;0x102d28505;c;a.out;1000054 4134102 +435487458;1000000;0x102d28505;c;a.out;1000054 4130770 +435873208;1000000;0x102d28505;c;a.out;1000054 4134102 +436253666;1000000;0x102d28505;c;a.out;1000047 4134102 +436624875;1000000;0x102d28505;c;a.out;1000049 4134157 +436986166;1000000;0x102d28505;c;a.out;1000051 4134011 +437343166;1000000;0x102d28505;c;a.out;1000054 4134102 +437699875;1000000;0x102d28505;c;a.out;1000059 4134157 +438056583;1000000;0x102d28505;c;a.out;1000054 4134102 +438413916;1000000;0x102d28505;c;a.out;1000054 4134102 +438776333;1000000;0x102d28505;c;a.out;1000054 4134102 +439133458;1000000;0x102d28505;c;a.out;1000058 4134157 +439490458;1000000;0x102d28505;c;a.out;1000049 4134076 +439834208;1000000;0x0;;;0 0 +440146708;1000000;0x102d28505;c;a.out;846331 3495743 +440525125;1000000;0x102d28505;c;a.out;1000051 4134011 +440882541;1000000;0x102d28505;c;a.out;1000049 4134024 +441250958;1000000;0x102d28505;c;a.out;1000058 4134157 +441608416;1000000;0x102d28505;c;a.out;1000049 4134089 +441965041;1000000;0x102d28505;c;a.out;1000051 4133933 +442321708;1000000;0x102d28539;c;a.out;1000047 4134121 +442678458;1000000;0x102d28505;c;a.out;1000054 4134151 +443035208;1000000;0x102d28505;c;a.out;1000054 4134102 +443391875;1000000;0x102d28505;c;a.out;1000051 4134037 +443748666;1000000;0x102d28505;c;a.out;1000059 4134157 +444105416;1000000;0x102d28505;c;a.out;1000049 4133946 +444442041;1000000;0x102d28505;c;a.out;1000054 4134037 +444777166;1000000;0x102d28505;c;a.out;1000065 4134079 +445112375;1000000;0x102d28505;c;a.out;1000049 4134089 +445447666;1000000;0x102d28505;c;a.out;1000054 4134037 +445782833;1000000;0x102d28505;c;a.out;1000062 4134037 +446118041;1000000;0x102d28505;c;a.out;1000049 4134157 +446453166;1000000;0x102d28505;c;a.out;1000049 4133920 +446788416;1000000;0x102d28505;c;a.out;1000051 4134037 +447123541;1000000;0x102d28505;c;a.out;1000049 4134157 +447458750;1000000;0x102d28505;c;a.out;1000049 4133998 +447793875;1000000;0x102d28505;c;a.out;1000051 4134037 +448129125;1000000;0x102d28505;c;a.out;1000058 4134157 +448467541;1000000;0x102d28505;c;a.out;1000051 4134076 +448802666;1000000;0x102d28505;c;a.out;1000049 4134011 +449137958;1000000;0x102d28505;c;a.out;1000053 4134011 +449473250;1000000;0x102d28505;c;a.out;1000049 4134144 +449808375;1000000;0x102d28505;c;a.out;1000054 4134089 +450146583;1000000;0x102d28505;c;a.out;1000054 4130601 +450475666;1000000;0x102d28505;c;a.out;1000054 4134102 +450794166;1000000;0x102d28505;c;a.out;1000067 4134102 +451113375;1000000;0x102d28505;c;a.out;1000049 4134157 +451431958;1000000;0x102d28505;c;a.out;1000054 4134102 +451750583;1000000;0x102d28505;c;a.out;1000054 4134102 +452069250;1000000;0x102d28505;c;a.out;1000059 4134102 +452387791;1000000;0x102d28505;c;a.out;1000049 4134157 +452706291;1000000;0x102d28505;c;a.out;1000051 4134011 +453024875;1000000;0x102d28505;c;a.out;1000054 4134102 +453343541;1000000;0x102d28505;c;a.out;1000060 4134157 +453662083;1000000;0x102d28505;c;a.out;1000049 4134063 +453980708;1000000;0x102d28505;c;a.out;1000054 4134102 +454299250;1000000;0x102d28505;c;a.out;1000054 4134102 +454617833;1000000;0x102d28505;c;a.out;1000058 4134157 +454788750;1000000;0x0;;;0 0 +456077125;1000000;0x0;;;0 0 +456275875;1000000;0x102d28505;c;a.out;493309 2036292 +456595625;1000000;0x102d28505;c;a.out;1000054 4134063 +456914791;1000000;0x102d28505;c;a.out;1000051 4134089 +457233375;1000000;0x102d28505;c;a.out;1000060 4134066 +457551916;1000000;0x102d28505;c;a.out;1000051 4134089 +457871750;1000000;0x102d28505;c;a.out;1000049 4134024 +458179833;1000000;0x102d28561;b;a.out;1000036 4134042 +458485875;1000000;0x102d28505;c;a.out;1000049 4134152 +458790458;1000000;0x102d28505;c;a.out;1000054 4134102 +459096083;1000000;0x102d28505;c;a.out;1000051 4134037 +459400666;1000000;0x102d28505;c;a.out;1000060 4134157 +459705291;1000000;0x102d28505;c;a.out;1000054 4133959 +460010291;1000000;0x102d28505;c;a.out;1000051 4134024 +460314875;1000000;0x102d28539;c;a.out;1000042 4134108 +460619666;1000000;0x102d28505;c;a.out;1000054 4134151 +460924291;1000000;0x102d28505;c;a.out;1000054 4134102 +461228916;1000000;0x102d28505;c;a.out;1000054 4134102 +461533500;1000000;0x102d28539;c;a.out;1000050 4134134 +461839000;1000000;0x102d28505;c;a.out;1000054 4134151 +462143583;1000000;0x102d28505;c;a.out;1000051 4134011 +462448166;1000000;0x102d28505;c;a.out;1000051 4134037 +462753000;1000000;0x102d28505;c;a.out;1000049 4134157 +463057583;1000000;0x102d28505;c;a.out;1000054 4133855 +463362166;1000000;0x102d28505;c;a.out;1000051 4134037 +463667000;1000000;0x102d28505;c;a.out;1000049 4134157 +463969250;1000000;0x102d28505;c;a.out;1000054 4134102 +464262041;1000000;0x102d28505;c;a.out;1000051 4134037 +464555208;1000000;0x102d28505;c;a.out;1000061 4134014 +464850875;1000000;0x102d28505;c;a.out;1000051 4133777 +465143750;1000000;0x102d28505;c;a.out;1000051 4134037 +465436583;1000000;0x102d28505;c;a.out;1000049 4134157 +465729666;1000000;0x102d28505;c;a.out;1000054 4134063 +466024916;1000000;0x102d28505;c;a.out;1000051 4134037 +466317750;1000000;0x102d28505;c;a.out;1000051 4134102 +466610833;1000000;0x102d28505;c;a.out;1000049 4134157 +466906416;1000000;0x102d28505;c;a.out;1000051 4134011 +467199250;1000000;0x102d28505;c;a.out;1000054 4134102 +467492333;1000000;0x102d28505;c;a.out;1000059 4134157 +467785291;1000000;0x102d28505;c;a.out;1000049 4134089 +468078416;1000000;0x102d28505;c;a.out;1000054 4134102 +468379750;1000000;0x102d28505;c;a.out;1000054 4134102 +468676625;1000000;0x102d28505;c;a.out;1000058 4134157 +468969458;1000000;0x102d28505;c;a.out;1000054 4134063 +469262333;1000000;0x102d28505;c;a.out;1000051 4134011 +469555166;1000000;0x102d28505;c;a.out;1000047 4134102 +469846916;1000000;0x102d28505;c;a.out;1000049 4134157 +470134250;1000000;0x102d28505;c;a.out;1000054 4134102 +470422166;1000000;0x102d28505;c;a.out;1000054 4134102 +470712041;1000000;0x102d2853d;c;a.out;1000026 4134096 +470893250;1000000;0x0;;;0 0 +470920166;1000000;0x0;;;580149 2373625 +471046041;1000000;0x102d28505;c;a.out;419900 1734349 +471334916;1000000;0x102d28561;b;a.out;1000035 4134081 +471620041;1000000;0x102d28505;c;a.out;1000049 4134152 +471907291;1000000;0x102d28505;c;a.out;1000051 4134011 +472204333;1000000;0x102d28505;c;a.out;1000051 4134089 +472491333;1000000;0x102d28505;c;a.out;1000058 4134157 +472796416;1000000;0x102d28505;c;a.out;1000065 4130562 +473081375;1000000;0x102d28505;c;a.out;1000051 4134037 +473366250;1000000;0x102d28505;c;a.out;1000054 4134102 +473651208;1000000;0x102d28505;c;a.out;1000051 4134089 +473936041;1000000;0x102d28505;c;a.out;1000049 4134157 +474220916;1000000;0x102d28505;c;a.out;1000051 4134011 +474506083;1000000;0x102d28505;c;a.out;1000054 4134102 +474791041;1000000;0x102d28505;c;a.out;1000047 4134102 +475076166;1000000;0x102d28505;c;a.out;1000049 4134157 +475372500;1000000;0x102d28505;c;a.out;1000054 4134102 +475657458;1000000;0x102d28505;c;a.out;1000054 4134102 +475942541;1000000;0x102d2853d;c;a.out;1000026 4134096 +476222625;1000000;0x102d28505;c;a.out;1000054 4134150 +476512666;1000000;0x102d28505;c;a.out;1000049 4133673 +476796375;1000000;0x102d28505;c;a.out;1000058 4134157 +477076416;1000000;0x102d28505;c;a.out;1000054 4134102 +477356458;1000000;0x102d28505;c;a.out;1000054 4134102 +477636666;1000000;0x102d28505;c;a.out;1000054 4134102 +477916750;1000000;0x102d28505;c;a.out;1000058 4134157 +478196791;1000000;0x102d28505;c;a.out;1000054 4134102 +478479416;1000000;0x102d28505;c;a.out;1000054 4134102 +478759583;1000000;0x102d28505;c;a.out;1000050 4134011 +479042125;1000000;0x102d28505;c;a.out;1000049 4134157 +479322875;1000000;0x102d28505;c;a.out;1000054 4134102 +479603375;1000000;0x102d28505;c;a.out;1000054 4134102 +479898291;1000000;0x102d28505;c;a.out;1000061 4132844 +480178708;1000000;0x102d28505;c;a.out;1000054 4133663 +480457833;1000000;0x102d28505;c;a.out;1000054 4134102 +480734208;1000000;0x102d28505;c;a.out;1000060 4134157 +481015250;1000000;0x102d28505;c;a.out;1000049 4133699 +481291583;1000000;0x102d28505;c;a.out;1000054 4134102 +481570958;1000000;0x102d28505;c;a.out;1000049 4134157 +481847250;1000000;0x102d28505;c;a.out;1000054 4134063 +482123625;1000000;0x102d28505;c;a.out;1000049 4134024 +482400250;1000000;0x102d28505;c;a.out;1000043 4134102 +482679000;1000000;0x102d28505;c;a.out;1000049 4134157 +482955333;1000000;0x102d28505;c;a.out;1000054 4134102 +483231708;1000000;0x102d28505;c;a.out;1000049 4133946 +483511000;1000000;0x102d28505;c;a.out;1000049 4134157 +483785500;1000000;0x102d28505;c;a.out;1000054 4134102 +484055625;1000000;0x102d28505;c;a.out;1000054 4134102 +484325958;1000000;0x102d28505;c;a.out;1000058 4134037 +484596041;1000000;0x102d28505;c;a.out;1000049 4134157 +484866125;1000000;0x102d28505;c;a.out;1000054 4134102 +485136250;1000000;0x102d28505;c;a.out;1000054 4134102 +485406625;1000000;0x102d28505;c;a.out;1000063 4134079 +485676666;1000000;0x102d28505;c;a.out;1000051 4134037 +485946750;1000000;0x102d28505;c;a.out;1000054 4134011 +486216916;1000000;0x102d28505;c;a.out;1000050 4134037 +486515166;1000000;0x102d28505;c;a.out;1000049 4134157 +486813958;1000000;0x102d28505;c;a.out;1000054 4134102 +487084083;1000000;0x102d28505;c;a.out;1000054 4134102 +487354416;1000000;0x102d28505;c;a.out;1000043 4134102 +487624583;1000000;0x102d28505;c;a.out;1000054 4134079 +487890416;1000000;0x102d28505;c;a.out;1000054 4134102 +488155375;1000000;0x102d28505;c;a.out;1000051 4134037 +488420541;1000000;0x102d28505;c;a.out;1000049 4134157 +488685500;1000000;0x102d28505;c;a.out;1000054 4134102 +488950458;1000000;0x102d28505;c;a.out;1000054 4134102 +489215625;1000000;0x102d28505;c;a.out;1000054 4134102 +489480625;1000000;0x102d28505;c;a.out;1000049 4134157 +489745583;1000000;0x102d28505;c;a.out;1000051 4134011 +490010458;1000000;0x102d28505;c;a.out;1000054 4134102 +490275708;1000000;0x102d2853d;c;a.out;1000026 4134096 +490540666;1000000;0x102d28505;c;a.out;1000054 4134150 +490805583;1000000;0x102d28505;c;a.out;1000054 4134102 +491084833;1000000;0x102d28505;c;a.out;1000065 4133767 +491351000;1000000;0x102d28505;c;a.out;1000051 4134076 +491615875;1000000;0x102d28505;c;a.out;1000049 4134011 +491898083;1000000;0x102d28539;c;a.out;1000052 4133991 +492163000;1000000;0x102d28505;c;a.out;1000051 4134138 +492428208;1000000;0x102d28505;c;a.out;1000054 4134102 +492693125;1000000;0x102d28505;c;a.out;1000051 4134089 +492958125;1000000;0x102d28505;c;a.out;1000063 4134157 +493223291;1000000;0x102d28505;c;a.out;1000049 4134063 +493488208;1000000;0x102d28505;c;a.out;1000051 4134089 +493753208;1000000;0x102d28505;c;a.out;1000054 4134102 +494018166;1000000;0x102d28505;c;a.out;1000051 4134066 +494283333;1000000;0x102d28505;c;a.out;1000054 4134102 +494555541;1000000;0x102d28505;c;a.out;1000051 4134037 +494820458;1000000;0x102d2853d;c;a.out;1000026 4134096 +495087875;1000000;0x102d28505;c;a.out;1000054 4134150 +495389625;1000000;0x102d28505;c;a.out;1000054 4134102 +495653250;1000000;0x102d28505;c;a.out;1000054 4134102 +495912458;1000000;0x102d28539;c;a.out;1000048 4134134 +496171875;1000000;0x102d28505;c;a.out;1000051 4134060 +496431083;1000000;0x102d28505;c;a.out;1000054 4134102 +496690250;1000000;0x102d28505;c;a.out;1000054 4134102 +496949458;1000000;0x102d28505;c;a.out;1000058 4134157 +497208875;1000000;0x102d28505;c;a.out;1000054 4134102 +497468083;1000000;0x102d28505;c;a.out;1000054 4134102 +497727250;1000000;0x102d28505;c;a.out;1000054 4134037 +497986458;1000000;0x102d28505;c;a.out;1000049 4134157 +498245875;1000000;0x102d28505;c;a.out;1000051 4134011 +498505125;1000000;0x102d28505;c;a.out;1000051 4134037 +498764291;1000000;0x102d28505;c;a.out;1000059 4134157 +499046250;1000000;0x102d28505;c;a.out;1000049 4134089 +499315416;1000000;0x102d28505;c;a.out;1000054 4134037 +499575000;1000000;0x102d28505;c;a.out;1000054 4134102 +499834166;1000000;0x102d28505;c;a.out;1000054 4134157 +500098250;1000000;0x102d28505;c;a.out;1000054 4134102 +500368666;1000000;0x102d28505;c;a.out;1000051 4134011 +500627833;1000000;0x102d2853d;c;a.out;1000026 4134096 +500890833;1000000;0x102d28505;c;a.out;1000051 4130298 +501152083;1000000;0x102d28505;c;a.out;1000054 4133634 +501411291;1000000;0x102d28505;c;a.out;1000065 4134105 +501670500;1000000;0x102d28505;c;a.out;1000051 4134076 +501929666;1000000;0x102d28505;c;a.out;1000054 4134102 +502188875;1000000;0x102d28505;c;a.out;1000054 4134102 +502448083;1000000;0x102d28505;c;a.out;1000054 4134079 +502707250;1000000;0x102d28505;c;a.out;1000054 4134102 +502966416;1000000;0x102d28505;c;a.out;1000054 4134102 +503225625;1000000;0x102d28505;c;a.out;1000063 4134102 +503499791;1000000;0x102d28505;c;a.out;1000049 4134157 +503752625;1000000;0x102d28505;c;a.out;1000054 4134102 +504005583;1000000;0x102d28505;c;a.out;1000054 4134102 +504258458;1000000;0x102d28505;c;a.out;1000055 4134102 +504511708;1000000;0x102d28505;c;a.out;1000054 4134079 +504764625;1000000;0x102d28505;c;a.out;1000054 4134102 +505017541;1000000;0x102d28505;c;a.out;1000051 4134037 +505270416;1000000;0x102d28505;c;a.out;1000058 4134157 +505523583;1000000;0x102d28505;c;a.out;1000054 4134102 +505776500;1000000;0x102d28505;c;a.out;1000054 4134102 +506029375;1000000;0x102d28505;c;a.out;1000054 4134037 +506282291;1000000;0x102d28505;c;a.out;1000049 4134157 +506535208;1000000;0x102d28505;c;a.out;1000051 4134011 +506788083;1000000;0x102d28505;c;a.out;1000051 4134037 +507041000;1000000;0x102d28505;c;a.out;1000060 4134157 +507317750;1000000;0x102d28505;c;a.out;1000054 4134089 +507572125;1000000;0x102d28505;c;a.out;1000051 4133351 +507829208;1000000;0x102d28505;c;a.out;1000050 4133348 +508082125;1000000;0x102d28505;c;a.out;1000049 4134157 +508335041;1000000;0x102d28505;c;a.out;1000054 4134102 +508609791;1000000;0x102d28505;c;a.out;1000051 4134011 +508862708;1000000;0x102d28505;c;a.out;1000059 4134157 +509115625;1000000;0x102d28505;c;a.out;1000049 4134089 +509370750;1000000;0x102d28505;c;a.out;1000054 4134102 +509623875;1000000;0x102d28505;c;a.out;1000054 4134102 +509876750;1000000;0x102d28505;c;a.out;1000058 4134157 +510129791;1000000;0x102d28505;c;a.out;1000054 4134102 +510382958;1000000;0x102d28505;c;a.out;1000054 4134102 +510635958;1000000;0x102d28505;c;a.out;1000058 4134011 +510888833;1000000;0x102d28505;c;a.out;1000049 4134157 +511143541;1000000;0x102d28505;c;a.out;1000049 4133829 +511396375;1000000;0x102d28505;c;a.out;1000055 4134102 +511643291;1000000;0x102d28505;c;a.out;1000049 4134157 +511899458;1000000;0x102d28505;c;a.out;1000054 4134102 +512146333;1000000;0x102d28505;c;a.out;1000054 4134102 +512393291;1000000;0x102d28505;c;a.out;1000067 4134102 +512640166;1000000;0x102d28505;c;a.out;1000054 4134079 +512907458;1000000;0x102d28505;c;a.out;1000051 4134089 +513154500;1000000;0x102d28505;c;a.out;1000054 4134102 +513401458;1000000;0x102d28539;c;a.out;1000052 4134147 +513648375;1000000;0x102d28505;c;a.out;1000054 4134151 +513895250;1000000;0x102d28505;c;a.out;1000054 4134102 +514142208;1000000;0x102d28505;c;a.out;1000054 4134102 +518406333;1000000;0x0;;;741040 2927687 diff --git a/jmh-core/src/test/resources/org.openjdk.jmh.profile.xctrace/counters-profile.xcode26.4.1.xml b/jmh-core/src/test/resources/org.openjdk.jmh.profile.xctrace/counters-profile.xcode26.4.1.xml new file mode 100644 index 00000000..a782a91d --- /dev/null +++ b/jmh-core/src/test/resources/org.openjdk.jmh.profile.xctrace/counters-profile.xcode26.4.1.xml @@ -0,0 +1,327 @@ + + +timeSample Timesample-timethreadThreadthreadprocessProcessprocesscoreCorecorethread-stateStatethread-statestackBacktracetagged-backtraceweightWeightanycounters-arrayCounter Value Arraypmc-events41243454112510TODO6Running10000000 0 +41355070820872677355760979308 2144842 +4147751251000071 2523478 +415270750/Users/filipp.zhinkin/Development/jmh/jmh-core/src/test/resources/org.openjdk.jmh.profile.xctrace/test.c1000054 3883899 +4157345411000054 4133868 +4161957081000050 4134037 +4166572081000049 4134157 +4171251251000054 4133712 +4175889581000052 4134147 +4180501661000054 4134151 +4185112501000054 4134102 +4189723751000051 4134037 +4194338751000059 4134157 +4198973331000049 4134089 +4203584581000054 4134037 +4208272911000046 4134011 +421288541 +421752458 +422213750 +4226540001000054 4133910 +423067208 +4234805001000049 4134024 +4238936661000058 4134157 +4243070001000051 4133972 +4247201661000051 4134011 +4251340001000062 4134053 +4255512081000054 4134063 +425964500 +4263777911000041 4134011 +4267909581000049 4134118 +4272042501000054 4134089 +4276175001000051 4133998 +4280306661000049 4134144 +4284443751000051 4134076 +4288575411000051 4134024 +4292708331000026 4134083 +4296840411000054 4134150 +430097375 +430491916 +4308747911000063 4134066 +431257791 +431640625 +4320235001000067 4134089 +432406625 +4327921251000049 4133634 +4331751251000064 4134105 +4335635001000054 4133842 +4339500411000055 4133946 +434332916 +434716500 +435103916 +4354874581000054 4130770 +435873208 +4362536661000047 4134102 +436624875 +436986166 +437343166 +437699875 +438056583 +438413916 +438776333 +439133458 +4394904581000049 4134076 +43983420818846383915118 +440146708846331 3495743 +440525125 +440882541 +441250958 +441608416 +4419650411000051 4133933 +4423217081000047 4134121 +442678458 +443035208 +443391875 +443748666 +4441054161000049 4133946 +444442041 +4447771661000065 4134079 +445112375 +445447666 +4457828331000062 4134037 +446118041 +4464531661000049 4133920 +446788416 +447123541 +4474587501000049 4133998 +447793875 +448129125 +448467541 +4488026661000049 4134011 +4491379581000053 4134011 +449473250 +449808375 +4501465831000054 4130601 +450475666 +4507941661000067 4134102 +451113375 +451431958 +451750583 +4520692501000059 4134102 +452387791 +452706291 +453024875 +4533435411000060 4134157 +4536620831000049 4134063 +453980708 +454299250 +454617833 +454788750125813 +4560771251024 +456275875493309 2036292 +456595625 +4569147911000051 4134089 +4572333751000060 4134066 +457551916 +457871750 +4581798331000036 4134042 +4584858751000049 4134152 +458790458 +459096083 +459400666 +4597052911000054 4133959 +460010291 +4603148751000042 4134108 +460619666 +460924291 +461228916 +4615335001000050 4134134 +461839000 +462143583 +462448166 +462753000 +4630575831000054 4133855 +463362166 +463667000 +463969250 +464262041 +4645552081000061 4134014 +4648508751000051 4133777 +465143750 +465436583 +465729666 +466024916 +4663177501000051 4134102 +466610833 +466906416 +467199250 +467492333 +467785291 +468078416 +468379750 +468676625 +468969458 +469262333 +469555166 +469846916 +470134250 +470422166 +4707120411000026 4134096 +47089325012471 +470920166580149 2373625 +471046041419900 1734349 +4713349161000035 4134081 +471620041 +471907291 +472204333 +472491333 +4727964161000065 4130562 +473081375 +473366250 +473651208 +473936041 +474220916 +474506083 +474791041 +475076166 +475372500 +475657458 +475942541 +476222625 +4765126661000049 4133673 +476796375 +477076416 +477356458 +477636666 +477916750 +478196791 +478479416 +4787595831000050 4134011 +479042125 +479322875 +479603375 +4798982911000061 4132844 +4801787081000054 4133663 +480457833 +480734208 +4810152501000049 4133699 +481291583 +481570958 +481847250 +482123625 +4824002501000043 4134102 +482679000 +482955333 +483231708 +483511000 +483785500 +484055625 +4843259581000058 4134037 +484596041 +484866125 +485136250 +4854066251000063 4134079 +485676666 +4859467501000054 4134011 +486216916 +486515166 +486813958 +487084083 +487354416 +4876245831000054 4134079 +487890416 +488155375 +488420541 +488685500 +488950458 +489215625 +489480625 +489745583 +490010458 +490275708 +490540666 +490805583 +4910848331000065 4133767 +491351000 +491615875 +4918980831000052 4133991 +4921630001000051 4134138 +492428208 +492693125 +4929581251000063 4134157 +493223291 +493488208 +493753208 +4940181661000051 4134066 +494283333 +494555541 +494820458 +495087875 +495389625 +495653250 +4959124581000048 4134134 +4961718751000051 4134060 +496431083 +496690250 +496949458 +497208875 +497468083 +497727250 +497986458 +498245875 +498505125 +498764291 +499046250 +499315416 +499575000 +4998341661000054 4134157 +500098250 +500368666 +500627833 +5008908331000051 4130298 +5011520831000054 4133634 +5014112911000065 4134105 +501670500 +501929666 +502188875 +502448083 +502707250 +502966416 +5032256251000063 4134102 +503499791 +503752625 +504005583 +5042584581000055 4134102 +504511708 +504764625 +505017541 +505270416 +505523583 +505776500 +506029375 +506282291 +506535208 +506788083 +507041000 +507317750 +5075721251000051 4133351 +5078292081000050 4133348 +508082125 +508335041 +508609791 +508862708 +509115625 +509370750 +509623875 +509876750 +510129791 +510382958 +5106359581000058 4134011 +510888833 +5111435411000049 4133829 +511396375 +511643291 +511899458 +512146333 +512393291 +512640166 +512907458 +513154500 +513401458 +513648375 +513895250 +514142208 +518406333741040 2927687 + diff --git a/jmh-core/src/test/resources/org.openjdk.jmh.profile.xctrace/cpu-profile.xcode26.4.1.csv b/jmh-core/src/test/resources/org.openjdk.jmh.profile.xctrace/cpu-profile.xcode26.4.1.csv new file mode 100644 index 00000000..32826200 --- /dev/null +++ b/jmh-core/src/test/resources/org.openjdk.jmh.profile.xctrace/cpu-profile.xcode26.4.1.csv @@ -0,0 +1,322 @@ +890178500;335273;0x10251a67d;0x10251a67d;; +890795000;1000075;0x188301c09;PropertyList::encode(ByteStream&);dyld; +891386500;1000054;0x1023cc505;c;a.out; +891666791;1000051;0x1023cc505;c;a.out; +891946416;1000054;0x1023cc505;c;a.out; +892222750;1000055;0x1023cc505;c;a.out; +892499083;1000049;0x1023cc505;c;a.out; +892775375;1000049;0x1023cc505;c;a.out; +893031750;1000051;0x1023cc505;c;a.out; +893278666;1000060;0x1023cc505;c;a.out; +893525583;1000051;0x1023cc505;c;a.out; +893772458;1000049;0x1023cc505;c;a.out; +894053541;1000042;0x1023cc539;c;a.out; +894333500;1000051;0x1023cc505;c;a.out; +894613583;1000054;0x1023cc505;c;a.out; +894893625;1000051;0x1023cc505;c;a.out; +895173708;1000049;0x1023cc505;c;a.out; +895453458;1000054;0x1023cc505;c;a.out; +895740833;1000049;0x1023cc505;c;a.out; +896015583;1000054;0x1023cc505;c;a.out; +896264500;1000049;0x1023cc505;c;a.out; +896511375;1000049;0x1023cc505;c;a.out; +896758291;1000051;0x1023cc505;c;a.out; +897005208;1000060;0x1023cc505;c;a.out; +897252083;1000051;0x1023cc505;c;a.out; +897499125;1000054;0x1023cc505;c;a.out; +897746250;1000062;0x1023cc505;c;a.out; +897993125;1000054;0x1023cc505;c;a.out; +898240041;1000054;0x1023cc505;c;a.out; +898486958;1000046;0x1023cc505;c;a.out; +898733833;1000049;0x1023cc505;c;a.out; +898980750;1000054;0x1023cc505;c;a.out; +899227666;1000051;0x1023cc505;c;a.out; +899488125;1000054;0x1023cc505;c;a.out; +899768416;1000049;0x1023cc505;c;a.out; +900059708;1000048;0x1023cc539;c;a.out; +900339791;1000049;0x1023cc505;c;a.out; +900619875;1000051;0x1023cc505;c;a.out; +900902291;1000054;0x1023cc505;c;a.out; +901182458;1000058;0x1023cc505;c;a.out; +901460916;1000051;0x1023cc505;c;a.out; +901744250;1000051;0x1023cc505;c;a.out; +902024458;1000042;0x1023cc505;c;a.out; +902304458;1000049;0x1023cc505;c;a.out; +902564833;1000054;0x1023cc505;c;a.out; +902834541;1000049;0x1023cc505;c;a.out; +903323416;845984;0x1023cc505;c;a.out; +903637708;1000058;0x1023cc505;c;a.out; +903945666;1000051;0x1023cc505;c;a.out; +904280500;1000067;0x1023cc505;c;a.out; +904560000;1000051;0x1023cc505;c;a.out; +904829791;1000054;0x1023cc505;c;a.out; +905110041;1000050;0x1023cc539;c;a.out; +905388750;1000054;0x1023cc505;c;a.out; +905684833;1000060;0x1023cc505;c;a.out; +905967916;1000054;0x1023cc505;c;a.out; +906249041;1000036;0x1023cc561;b;a.out; +906504416;1000049;0x1023cc505;c;a.out; +906751333;1000054;0x1023cc505;c;a.out; +906998208;1000051;0x1023cc505;c;a.out; +907245208;1000054;0x1023cc505;c;a.out; +907498250;1000054;0x1023cc505;c;a.out; +907745166;1000051;0x1023cc505;c;a.out; +907992083;1000042;0x1023cc539;c;a.out; +908248500;1000054;0x1023cc505;c;a.out; +908495416;1000054;0x1023cc505;c;a.out; +908742250;1000054;0x1023cc505;c;a.out; +908989208;1000060;0x1023cc505;c;a.out; +909282791;1000049;0x1023cc505;c;a.out; +909529833;1000049;0x1023cc505;c;a.out; +909781833;1000049;0x1023cc505;c;a.out; +910056625;1000051;0x1023cc505;c;a.out; +910303541;1000054;0x1023cc505;c;a.out; +910550458;1000049;0x1023cc505;c;a.out; +910797375;1000054;0x1023cc505;c;a.out; +911044291;1000051;0x1023cc505;c;a.out; +911294416;1000064;0x1023cc505;c;a.out; +911541333;1000054;0x1023cc505;c;a.out; +911788250;1000051;0x1023cc505;c;a.out; +912035166;1000041;0x1023cc539;c;a.out; +912282083;1000054;0x1023cc505;c;a.out; +912537833;1000054;0x1023cc505;c;a.out; +912784750;1000054;0x1023cc505;c;a.out; +913067500;1000059;0x1023cc505;c;a.out; +913363625;1000049;0x1023cc505;c;a.out; +913650541;1000049;0x1023cc505;c;a.out; +913918541;1000058;0x1023cc505;c;a.out; +914188583;1000054;0x1023cc505;c;a.out; +914442041;1000046;0x1023cc539;c;a.out; +914721750;1000051;0x1023cc505;c;a.out; +914968708;1000058;0x1023cc505;c;a.out; +915218708;1000049;0x1023cc505;c;a.out; +915465666;1000049;0x1023cc505;c;a.out; +915712625;1000052;0x1023cc539;c;a.out; +915959458;1000054;0x1023cc505;c;a.out; +916206375;1000054;0x1023cc505;c;a.out; +916453333;1000054;0x1023cc505;c;a.out; +916708375;1000048;0x1023cc539;c;a.out; +916955250;1000054;0x1023cc505;c;a.out; +917202166;1000054;0x1023cc505;c;a.out; +917462458;1000051;0x1023cc505;c;a.out; +917719291;1000058;0x1023cc505;c;a.out; +917966208;1000054;0x1023cc505;c;a.out; +918213041;1000054;0x1023cc505;c;a.out; +918460000;1000054;0x1023cc505;c;a.out; +918706916;1000049;0x1023cc505;c;a.out; +918953791;1000049;0x1023cc505;c;a.out; +919203833;1000051;0x1023cc505;c;a.out; +919450833;1000060;0x1023cc505;c;a.out; +919697750;1000054;0x1023cc505;c;a.out; +919944666;1000054;0x1023cc505;c;a.out; +920191583;1000051;0x1023cc505;c;a.out; +920438500;1000049;0x1023cc505;c;a.out; +920689583;1000054;0x1023cc505;c;a.out; +920965791;1000035;0x1023cc561;b;a.out; +921212708;1000049;0x1023cc505;c;a.out; +921470666;1000049;0x1023cc505;c;a.out; +921717583;1000058;0x1023cc505;c;a.out; +921964500;1000049;0x1023cc505;c;a.out; +922211458;1000051;0x1023cc505;c;a.out; +922458375;1000063;0x1023cc505;c;a.out; +922705291;1000049;0x1023cc505;c;a.out; +922952208;1000054;0x1023cc505;c;a.out; +923206708;1000047;0x1023cc539;c;a.out; +923498416;1000051;0x1023cc505;c;a.out; +923745541;1000054;0x1023cc505;c;a.out; +923992416;1000054;0x1023cc505;c;a.out; +924239333;1000058;0x1023cc505;c;a.out; +924486250;1000054;0x1023cc505;c;a.out; +924744166;1000054;0x1023cc505;c;a.out; +925000666;1000049;0x1023cc505;c;a.out; +925247750;1000026;0x1023cc53d;c;a.out; +925494625;1000051;0x1023cc505;c;a.out; +925746375;1000054;0x1023cc505;c;a.out; +926011916;1000054;0x1023cc505;c;a.out; +926258875;1000058;0x1023cc505;c;a.out; +926505791;1000054;0x1023cc505;c;a.out; +926752708;1000054;0x1023cc505;c;a.out; +926999666;1000054;0x1023cc505;c;a.out; +927249666;1000063;0x1023cc505;c;a.out; +927496791;1000051;0x1023cc505;c;a.out; +927743708;1000054;0x1023cc505;c;a.out; +927990625;1000047;0x1023cc505;c;a.out; +928237583;1000049;0x1023cc505;c;a.out; +928484500;1000054;0x1023cc505;c;a.out; +928731458;1000051;0x1023cc505;c;a.out; +928978333;1000058;0x1023cc505;c;a.out; +929263041;1000054;0x1023cc505;c;a.out; +929516333;1000058;0x1023cc505;c;a.out; +929763291;1000049;0x1023cc505;c;a.out; +930010250;1000054;0x1023cc505;c;a.out; +930257166;1000051;0x1023cc505;c;a.out; +930507208;1000045;0x1023cc539;c;a.out; +930754208;1000054;0x1023cc505;c;a.out; +931001125;1000054;0x1023cc505;c;a.out; +931283333;1000054;0x1023cc505;c;a.out; +931544000;1000063;0x1023cc505;c;a.out; +931791125;1000054;0x1023cc505;c;a.out; +932038125;1000054;0x1023cc505;c;a.out; +932288250;1000054;0x1023cc505;c;a.out; +932535208;1000049;0x1023cc505;c;a.out; +932782166;1000054;0x1023cc505;c;a.out; +933029083;1000054;0x1023cc505;c;a.out; +933291583;1000049;0x1023cc505;c;a.out; +933541666;1000051;0x1023cc505;c;a.out; +933788625;1000054;0x1023cc505;c;a.out; +934035541;1000047;0x1023cc505;c;a.out; +934305875;1000049;0x1023cc505;c;a.out; +934552791;1000054;0x1023cc505;c;a.out; +934799708;1000054;0x1023cc505;c;a.out; +935049708;1000026;0x1023cc53d;c;a.out; +935296750;1000054;0x1023cc505;c;a.out; +935543666;1000051;0x1023cc505;c;a.out; +935790583;1000054;0x1023cc505;c;a.out; +936037583;1000058;0x1023cc505;c;a.out; +936284458;1000054;0x1023cc505;c;a.out; +936531416;1000054;0x1023cc505;c;a.out; +936778375;1000054;0x1023cc505;c;a.out; +937025250;1000049;0x1023cc505;c;a.out; +937272208;1000054;0x1023cc505;c;a.out; +937527250;1000051;0x1023cc505;c;a.out; +937774250;1000047;0x1023cc505;c;a.out; +938021125;1000049;0x1023cc505;c;a.out; +938268041;1000054;0x1023cc505;c;a.out; +938515000;1000054;0x1023cc505;c;a.out; +938762250;1000026;0x1023cc53d;c;a.out; +939012250;1000054;0x1023cc505;c;a.out; +939259250;1000054;0x1023cc505;c;a.out; +939506250;1000051;0x1023cc505;c;a.out; +939753125;1000058;0x1023cc505;c;a.out; +940000083;1000054;0x1023cc505;c;a.out; +940247083;1000054;0x1023cc505;c;a.out; +940493958;1000054;0x1023cc505;c;a.out; +940740958;1000049;0x1023cc505;c;a.out; +940987833;1000054;0x1023cc505;c;a.out; +941234791;1000054;0x1023cc505;c;a.out; +941481750;1000046;0x1023cc505;c;a.out; +941736708;1000049;0x1023cc505;c;a.out; +941983666;1000054;0x1023cc505;c;a.out; +942230541;1000054;0x1023cc505;c;a.out; +942502291;1000026;0x1023cc53d;c;a.out; +942751750;1000054;0x1023cc505;c;a.out; +943001791;1000054;0x1023cc505;c;a.out; +943254250;1000059;0x1023cc505;c;a.out; +943501166;1000054;0x1023cc505;c;a.out; +943748083;1000054;0x1023cc505;c;a.out; +943995041;1000051;0x1023cc505;c;a.out; +944242000;1000058;0x1023cc505;c;a.out; +944488916;1000054;0x1023cc505;c;a.out; +944735875;1000054;0x1023cc505;c;a.out; +944982833;1000054;0x1023cc505;c;a.out; +945229916;1000058;0x1023cc505;c;a.out; +945476875;1000051;0x1023cc505;c;a.out; +945731958;1000054;0x1023cc505;c;a.out; +945978875;1000055;0x1023cc505;c;a.out; +946262875;1000049;0x1023cc505;c;a.out; +946532916;1000054;0x1023cc505;c;a.out; +946779833;1000054;0x1023cc505;c;a.out; +947029916;1000047;0x1023cc505;c;a.out; +947276875;1000049;0x1023cc505;c;a.out; +947523833;1000051;0x1023cc505;c;a.out; +947770750;1000054;0x1023cc505;c;a.out; +948017708;1000059;0x1023cc505;c;a.out; +948282708;1000054;0x1023cc505;c;a.out; +948583458;1000054;0x1023cc505;c;a.out; +948830416;1000051;0x1023cc505;c;a.out; +949077333;1000049;0x1023cc505;c;a.out; +949324291;1000054;0x1023cc505;c;a.out; +949571208;1000051;0x1023cc505;c;a.out; +949826333;1000054;0x1023cc505;c;a.out; +950086250;1000051;0x1023cc505;c;a.out; +950333291;1000051;0x1023cc505;c;a.out; +950580250;1000054;0x1023cc505;c;a.out; +950827291;1000049;0x1023cc505;c;a.out; +951077541;1000054;0x1023cc505;c;a.out; +951369416;1000054;0x1023cc505;c;a.out; +951634125;1000054;0x1023cc505;c;a.out; +951881083;1000054;0x1023cc505;c;a.out; +952128041;1000054;0x1023cc505;c;a.out; +952374916;1000067;0x1023cc505;c;a.out; +952621875;1000049;0x1023cc505;c;a.out; +952868833;1000054;0x1023cc505;c;a.out; +953121833;1000054;0x1023cc505;c;a.out; +953368750;1000054;0x1023cc505;c;a.out; +953615708;1000051;0x1023cc505;c;a.out; +953862666;1000054;0x1023cc505;c;a.out; +954117875;1000048;0x1023cc539;c;a.out; +954364833;1000054;0x1023cc505;c;a.out; +954611750;1000054;0x1023cc505;c;a.out; +954858791;1000054;0x1023cc505;c;a.out; +955147500;1000048;0x1023cc539;c;a.out; +955401000;1000054;0x1023cc505;c;a.out; +955654000;1000051;0x1023cc505;c;a.out; +955900958;1000054;0x1023cc505;c;a.out; +956147875;1000058;0x1023cc505;c;a.out; +956394833;1000054;0x1023cc505;c;a.out; +956641708;1000054;0x1023cc505;c;a.out; +956888708;1000054;0x1023cc505;c;a.out; +957135625;1000049;0x1023cc505;c;a.out; +957382583;1000054;0x1023cc505;c;a.out; +957632791;1000051;0x1023cc505;c;a.out; +957879875;1000047;0x1023cc539;c;a.out; +958126958;1000054;0x1023cc505;c;a.out; +958382875;1000054;0x1023cc505;c;a.out; +958629833;1000054;0x1023cc505;c;a.out; +958876916;1000048;0x1023cc539;c;a.out; +959123916;1000054;0x1023cc505;c;a.out; +959370833;1000054;0x1023cc505;c;a.out; +959617791;1000051;0x1023cc505;c;a.out; +959864708;1000058;0x1023cc505;c;a.out; +960111708;1000054;0x1023cc505;c;a.out; +960358583;1000054;0x1023cc505;c;a.out; +960605541;1000054;0x1023cc505;c;a.out; +960852541;1000049;0x1023cc505;c;a.out; +961099416;1000054;0x1023cc505;c;a.out; +961346375;1000054;0x1023cc505;c;a.out; +961593333;1000046;0x1023cc505;c;a.out; +961840291;1000049;0x1023cc505;c;a.out; +962087166;1000054;0x1023cc505;c;a.out; +962334125;1000054;0x1023cc505;c;a.out; +962589166;1000026;0x1023cc53d;c;a.out; +962839125;1000054;0x1023cc505;c;a.out; +963127833;1000049;0x1023cc505;c;a.out; +963382791;1000067;0x1023cc505;c;a.out; +963629750;1000054;0x1023cc505;c;a.out; +963876625;1000054;0x1023cc505;c;a.out; +964123625;1000054;0x1023cc505;c;a.out; +964370500;1000048;0x1023cc539;c;a.out; +964617458;1000054;0x1023cc505;c;a.out; +964864375;1000054;0x1023cc505;c;a.out; +965111375;1000054;0x1023cc505;c;a.out; +965358291;1000048;0x1023cc539;c;a.out; +965605166;1000051;0x1023cc505;c;a.out; +965852166;1000054;0x1023cc505;c;a.out; +966099041;1000054;0x1023cc505;c;a.out; +966346041;1000058;0x1023cc505;c;a.out; +966601166;1000054;0x1023cc505;c;a.out; +966851250;1000054;0x1023cc505;c;a.out; +967098250;1000054;0x1023cc505;c;a.out; +967345166;1000049;0x1023cc505;c;a.out; +967592125;1000051;0x1023cc505;c;a.out; +967839041;1000054;0x1023cc505;c;a.out; +968086000;1000047;0x1023cc505;c;a.out; +968332916;1000049;0x1023cc505;c;a.out; +968579833;1000054;0x1023cc505;c;a.out; +968826791;1000054;0x1023cc505;c;a.out; +969073708;1000026;0x1023cc53d;c;a.out; +969320625;1000054;0x1023cc505;c;a.out; +969572750;1000051;0x1023cc505;c;a.out; +969856666;1000054;0x1023cc505;c;a.out; +970103541;1000058;0x1023cc505;c;a.out; +970350500;1000054;0x1023cc505;c;a.out; +970597458;1000054;0x1023cc505;c;a.out; +970864083;1000054;0x1023cc505;c;a.out; +971126666;1000058;0x1023cc505;c;a.out; +971379375;1000051;0x1023cc505;c;a.out; +971630000;1000051;0x1023cc505;c;a.out; +971877166;1000048;0x1023cc539;c;a.out; +972124125;1000054;0x1023cc505;c;a.out; +972371041;1000054;0x1023cc505;c;a.out; +972618000;1000054;0x1023cc505;c;a.out; +972864958;1000048;0x1023cc539;c;a.out; diff --git a/jmh-core/src/test/resources/org.openjdk.jmh.profile.xctrace/cpu-profile.xcode26.4.1.xml b/jmh-core/src/test/resources/org.openjdk.jmh.profile.xctrace/cpu-profile.xcode26.4.1.xml new file mode 100644 index 00000000..ed876402 --- /dev/null +++ b/jmh-core/src/test/resources/org.openjdk.jmh.profile.xctrace/cpu-profile.xcode26.4.1.xml @@ -0,0 +1,325 @@ + + +timeSample Timesample-timethreadThreadthreadprocessProcessprocesscoreCorecorethread-stateStatethread-stateweightCyclescycle-weightstackBacktracetagged-backtrace8901785002086543435242TODO5Running3352730 +8907950001000075 +8913865001000054/Users/filipp.zhinkin/Development/jmh/jmh-core/src/test/resources/org.openjdk.jmh.profile.xctrace/test.c +8916667911000051 +891946416 +8922227501000055 +8924990831000049 +892775375 +893031750 +8932786661000060 +893525583 +893772458 +8940535411000042 +894333500 +894613583 +894893625 +895173708 +895453458 +895740833 +896015583 +896264500 +896511375 +896758291 +897005208 +897252083 +897499125 +8977462501000062 +897993125 +898240041 +8984869581000046 +898733833 +898980750 +899227666 +899488125 +899768416 +9000597081000048 +900339791 +900619875 +900902291 +9011824581000058 +901460916 +901744250 +902024458 +902304458 +902564833 +902834541 +9033234168845984 +903637708 +903945666 +9042805001000067 +904560000 +904829791 +9051100411000050 +905388750 +905684833 +905967916 +9062490411000036 +906504416 +906751333 +906998208 +907245208 +907498250 +907745166 +907992083 +908248500 +908495416 +908742250 +908989208 +909282791 +909529833 +909781833 +910056625 +910303541 +910550458 +910797375 +911044291 +9112944161000064 +911541333 +911788250 +9120351661000041 +912282083 +912537833 +912784750 +9130675001000059 +913363625 +913650541 +913918541 +914188583 +914442041 +914721750 +914968708 +915218708 +915465666 +9157126251000052 +915959458 +916206375 +916453333 +916708375 +916955250 +917202166 +917462458 +917719291 +917966208 +918213041 +918460000 +918706916 +918953791 +919203833 +919450833 +919697750 +919944666 +920191583 +920438500 +920689583 +9209657911000035 +921212708 +921470666 +921717583 +921964500 +922211458 +9224583751000063 +922705291 +922952208 +9232067081000047 +923498416 +923745541 +923992416 +924239333 +924486250 +924744166 +925000666 +9252477501000026 +925494625 +925746375 +926011916 +926258875 +926505791 +926752708 +926999666 +927249666 +927496791 +927743708 +927990625 +928237583 +928484500 +928731458 +928978333 +929263041 +929516333 +929763291 +930010250 +930257166 +9305072081000045 +930754208 +931001125 +931283333 +931544000 +931791125 +932038125 +932288250 +932535208 +932782166 +933029083 +933291583 +933541666 +933788625 +934035541 +934305875 +934552791 +934799708 +935049708 +935296750 +935543666 +935790583 +936037583 +936284458 +936531416 +936778375 +937025250 +937272208 +937527250 +937774250 +938021125 +938268041 +938515000 +938762250 +939012250 +939259250 +939506250 +939753125 +940000083 +940247083 +940493958 +940740958 +940987833 +941234791 +941481750 +941736708 +941983666 +942230541 +942502291 +942751750 +943001791 +943254250 +943501166 +943748083 +943995041 +944242000 +944488916 +944735875 +944982833 +945229916 +945476875 +945731958 +945978875 +946262875 +946532916 +946779833 +947029916 +947276875 +947523833 +947770750 +948017708 +948282708 +948583458 +948830416 +949077333 +949324291 +949571208 +949826333 +950086250 +950333291 +950580250 +950827291 +951077541 +951369416 +951634125 +951881083 +952128041 +952374916 +952621875 +952868833 +953121833 +953368750 +953615708 +953862666 +954117875 +954364833 +954611750 +954858791 +955147500 +955401000 +955654000 +955900958 +956147875 +956394833 +956641708 +956888708 +957135625 +957382583 +957632791 +957879875 +958126958 +958382875 +958629833 +958876916 +959123916 +959370833 +959617791 +959864708 +960111708 +960358583 +960605541 +960852541 +961099416 +961346375 +961593333 +961840291 +962087166 +962334125 +962589166 +962839125 +963127833 +963382791 +963629750 +963876625 +964123625 +964370500 +964617458 +964864375 +965111375 +965358291 +965605166 +965852166 +966099041 +966346041 +966601166 +966851250 +967098250 +967345166 +967592125 +967839041 +968086000 +968332916 +968579833 +968826791 +969073708 +969320625 +969572750 +969856666 +970103541 +970350500 +970597458 +970864083 +971126666 +971379375 +971630000 +971877166 +972124125 +972371041 +972618000 +972864958 + diff --git a/jmh-core/src/test/resources/org.openjdk.jmh.profile.xctrace/time-profile.xcode26.4.1.csv b/jmh-core/src/test/resources/org.openjdk.jmh.profile.xctrace/time-profile.xcode26.4.1.csv new file mode 100644 index 00000000..ee9d8a2b --- /dev/null +++ b/jmh-core/src/test/resources/org.openjdk.jmh.profile.xctrace/time-profile.xcode26.4.1.csv @@ -0,0 +1,85 @@ +648438208;1000000;0x188302ff9;dyld4::PrebuiltLoader::map(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&, bool) const;dyld; +649439375;1000000;0x104bfc505;c;a.out; +650441250;1000000;0x104bfc505;c;a.out; +651437541;1000000;0x104bfc505;c;a.out; +652437666;1000000;0x104bfc505;c;a.out; +653441291;1000000;0x104bfc505;c;a.out; +654437541;1000000;0x104bfc505;c;a.out; +655437791;1000000;0x104bfc505;c;a.out; +656437500;1000000;0x104bfc505;c;a.out; +657437500;1000000;0x104bfc505;c;a.out; +659442208;1000000;0x104bfc505;c;a.out; +660437750;1000000;0x104bfc505;c;a.out; +661437666;1000000;0x104bfc505;c;a.out; +662440166;1000000;0x104bfc505;c;a.out; +663437583;1000000;0x104bfc505;c;a.out; +664437583;1000000;0x104bfc505;c;a.out; +665437500;1000000;0x104bfc505;c;a.out; +666437750;1000000;0x104bfc505;c;a.out; +667438333;1000000;0x104bfc505;c;a.out; +668437541;1000000;0x104bfc505;c;a.out; +669437791;1000000;0x104bfc505;c;a.out; +670441125;1000000;0x104bfc505;c;a.out; +671440958;1000000;0x104bfc505;c;a.out; +672437500;1000000;0x104bfc505;c;a.out; +673437583;1000000;0x104bfc561;b;a.out; +674438375;1000000;0x104bfc505;c;a.out; +675439750;1000000;0x104bfc505;c;a.out; +676441875;1000000;0x104bfc505;c;a.out; +677437958;1000000;0x104bfc505;c;a.out; +678437625;1000000;0x104bfc505;c;a.out; +679438708;1000000;0x104bfc505;c;a.out; +680437833;1000000;0x104bfc505;c;a.out; +681437458;1000000;0x104bfc505;c;a.out; +682437833;1000000;0x104bfc505;c;a.out; +683437583;1000000;0x104bfc505;c;a.out; +684437666;1000000;0x104bfc505;c;a.out; +685437375;1000000;0x104bfc505;c;a.out; +686440916;1000000;0x104bfc505;c;a.out; +687437458;1000000;0x104bfc505;c;a.out; +688441166;1000000;0x104bfc505;c;a.out; +689437791;1000000;0x104bfc505;c;a.out; +690441166;1000000;0x104bfc505;c;a.out; +691437708;1000000;0x104bfc505;c;a.out; +692441125;1000000;0x104bfc505;c;a.out; +694440833;1000000;0x104bfc505;c;a.out; +695444375;1000000;0x104bfc505;c;a.out; +696445833;1000000;0x104bfc539;c;a.out; +697438250;1000000;0x104bfc505;c;a.out; +698437750;1000000;0x104bfc505;c;a.out; +699441083;1000000;0x104bfc505;c;a.out; +700441041;1000000;0x104bfc505;c;a.out; +701440958;1000000;0x104bfc505;c;a.out; +702437625;1000000;0x104bfc505;c;a.out; +703441083;1000000;0x104bfc505;c;a.out; +704440833;1000000;0x104bfc505;c;a.out; +705437500;1000000;0x104bfc505;c;a.out; +706437583;1000000;0x104bfc505;c;a.out; +707437875;1000000;0x104bfc505;c;a.out; +708437416;1000000;0x104bfc505;c;a.out; +709440791;1000000;0x104bfc505;c;a.out; +710438000;1000000;0x104bfc505;c;a.out; +711437375;1000000;0x104bfc505;c;a.out; +712437583;1000000;0x104bfc505;c;a.out; +713444458;1000000;0x104bfc505;c;a.out; +714441041;1000000;0x104bfc505;c;a.out; +715437583;1000000;0x104bfc505;c;a.out; +716441083;1000000;0x104bfc505;c;a.out; +717440958;1000000;0x104bfc505;c;a.out; +718440875;1000000;0x104bfc505;c;a.out; +719440958;1000000;0x104bfc505;c;a.out; +720441041;1000000;0x104bfc505;c;a.out; +721437583;1000000;0x104bfc505;c;a.out; +722441208;1000000;0x104bfc505;c;a.out; +723440875;1000000;0x104bfc505;c;a.out; +724440958;1000000;0x104bfc505;c;a.out; +725437333;1000000;0x104bfc505;c;a.out; +726440916;1000000;0x104bfc505;c;a.out; +727440875;1000000;0x104bfc505;c;a.out; +728440666;1000000;0x104bfc505;c;a.out; +729440416;1000000;0x104bfc505;c;a.out; +730437458;1000000;0x104bfc505;c;a.out; +731440666;1000000;0x104bfc505;c;a.out; +732440416;1000000;0x104bfc505;c;a.out; +733437333;1000000;0x104bfc505;c;a.out; +734440791;1000000;0x104bfc505;c;a.out; diff --git a/jmh-core/src/test/resources/org.openjdk.jmh.profile.xctrace/time-profile.xcode26.4.1.xml b/jmh-core/src/test/resources/org.openjdk.jmh.profile.xctrace/time-profile.xcode26.4.1.xml new file mode 100644 index 00000000..535ec52e --- /dev/null +++ b/jmh-core/src/test/resources/org.openjdk.jmh.profile.xctrace/time-profile.xcode26.4.1.xml @@ -0,0 +1,88 @@ + + +timeSample Timesample-timethreadThreadthreadprocessProcessprocesscoreCorecorethread-stateStatethread-stateweightWeightweightstackBacktracetagged-backtrace6484382082086014734963TODO12Running10000000 +649439375/Users/filipp.zhinkin/Development/jmh/jmh-core/src/test/resources/org.openjdk.jmh.profile.xctrace/test.c +650441250 +651437541 +652437666 +653441291 +654437541 +655437791 +656437500 +657437500 +6594422087 +660437750 +661437666 +662440166 +663437583 +664437583 +665437500 +666437750 +66743833310 +668437541 +669437791 +670441125 +671440958 +672437500 +673437583 +674438375 +675439750 +676441875 +677437958 +678437625 +6794387086 +6804378335 +681437458 +682437833 +683437583 +684437666 +685437375 +686440916 +687437458 +688441166 +689437791 +690441166 +691437708 +692441125 +6944408338 +695444375 +6964458334 +69743825013 +698437750 +699441083 +700441041 +701440958 +702437625 +703441083 +704440833 +705437500 +706437583 +707437875 +708437416 +709440791 +710438000 +711437375 +712437583 +713444458 +714441041 +715437583 +716441083 +717440958 +718440875 +719440958 +720441041 +721437583 +722441208 +723440875 +724440958 +725437333 +726440916 +727440875 +728440666 +729440416 +730437458 +731440666 +732440416 +733437333 +734440791 +