diff --git a/src/explorviz/live_trace_processing/reader/TCPReaderOneClient.java b/src/explorviz/live_trace_processing/reader/TCPReaderOneClient.java index 47ca4d42c776e400fbfeaf78b454290ceda6f7d6..1fa722d459e0137d659a0562913bd42678e21943 100644 --- a/src/explorviz/live_trace_processing/reader/TCPReaderOneClient.java +++ b/src/explorviz/live_trace_processing/reader/TCPReaderOneClient.java @@ -299,12 +299,14 @@ class TCPReaderOneClient extends Thread { final int orderIndex = buffer.getInt(); final int objectId = buffer.getInt(); final int operationId = buffer.getInt(); + final int clazzId = buffer.getInt(); try { final String operation = stringRegistry.getStringFromId(operationId); + final String clazz = stringRegistry.getStringFromId(clazzId); putInRingBuffer(new BeforeOperationEventRecord(timestamp, traceId, orderIndex, - objectId, operation, hostApplicationMetadata)); + objectId, operation, clazz, hostApplicationMetadata)); } catch (final IdNotAvailableException e) { putInWaitingMessages(buffer, BeforeOperationEventRecord.COMPRESSED_BYTE_LENGTH + 1); } @@ -350,12 +352,14 @@ class TCPReaderOneClient extends Thread { final int orderIndex = buffer.getInt(); final int objectId = buffer.getInt(); final int operationId = buffer.getInt(); + final int clazzId = buffer.getInt(); try { final String operation = stringRegistry.getStringFromId(operationId); + final String clazz = stringRegistry.getStringFromId(clazzId); putInRingBuffer(new BeforeConstructorEventRecord(timestamp, traceId, orderIndex, - objectId, operation, hostApplicationMetadata)); + objectId, operation, clazz, hostApplicationMetadata)); } catch (final IdNotAvailableException e) { putInWaitingMessages(buffer, BeforeConstructorEventRecord.COMPRESSED_BYTE_LENGTH_WITH_CLAZZ_ID); @@ -403,12 +407,14 @@ class TCPReaderOneClient extends Thread { final long traceId = buffer.getLong(); final int orderIndex = buffer.getInt(); final int operationId = buffer.getInt(); + final int clazzId = buffer.getInt(); try { final String operation = stringRegistry.getStringFromId(operationId); + final String clazz = stringRegistry.getStringFromId(clazzId); putInRingBuffer(new BeforeStaticOperationEventRecord(timestamp, traceId, orderIndex, - operation, hostApplicationMetadata)); + operation, clazz, hostApplicationMetadata)); } catch (final IdNotAvailableException e) { putInWaitingMessages(buffer, BeforeStaticOperationEventRecord.COMPRESSED_BYTE_LENGTH_WITH_CLAZZ_ID); diff --git a/test/explorviz/live_trace_processing/filter/reconstruction/TraceReconstructionBufferTest.java b/test/explorviz/live_trace_processing/filter/reconstruction/TraceReconstructionBufferTest.java index 5eddd014bd1a37252ed87fe8494cdf15bf32c989..e7136d197b2e3d4e911381afbe6cda5a4a0b9c14 100644 --- a/test/explorviz/live_trace_processing/filter/reconstruction/TraceReconstructionBufferTest.java +++ b/test/explorviz/live_trace_processing/filter/reconstruction/TraceReconstructionBufferTest.java @@ -13,7 +13,8 @@ public class TraceReconstructionBufferTest { public void testInsertEvent() throws Exception { final TraceReconstructionBuffer traceReconstructionBuffer = new TraceReconstructionBuffer(); traceReconstructionBuffer.insertEvent(new BeforeOperationEventRecord(1000, 1, 0, 0, "test", - new HostApplicationMetaDataRecord("testSystem", "testIp", "testHost", "testApp"))); + "TestClazz", new HostApplicationMetaDataRecord("testSystem", "testIp", "testHost", + "testApp"))); assertTrue(true); // TODO } diff --git a/test/explorviz/live_trace_processing/filter/reduction/AssociativityFilterTest.java b/test/explorviz/live_trace_processing/filter/reduction/AssociativityFilterTest.java index 063d7842d723dfd7b2ac5f238bf6f338c5403c70..77985ddcedaab6beacd48a36940d70eb6610b872 100644 --- a/test/explorviz/live_trace_processing/filter/reduction/AssociativityFilterTest.java +++ b/test/explorviz/live_trace_processing/filter/reduction/AssociativityFilterTest.java @@ -24,14 +24,14 @@ public class AssociativityFilterTest { final List<AbstractEventRecord> traceEvents = new ArrayList<AbstractEventRecord>(); final BeforeOperationEventRecord beforeEvent = new BeforeOperationEventRecord(1L, 1L, 0, 0, - "test.package.Clazz.method1()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + "test.package.Clazz.method1()", "ClazzF", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent.setRuntimeStatisticInformation(new RuntimeStatisticInformation(11L)); traceEvents.add(beforeEvent); final BeforeOperationEventRecord beforeEvent1 = new BeforeOperationEventRecord(2L, 1L, 1, - 0, "test.package.Clazz.method2()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.method2()", "ClazzF", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent1.setRuntimeStatisticInformation(new RuntimeStatisticInformation(2L)); traceEvents.add(beforeEvent1); @@ -40,8 +40,8 @@ public class AssociativityFilterTest { traceEvents.add(afterEvent1); final BeforeOperationEventRecord beforeEvent2 = new BeforeOperationEventRecord(5L, 1L, 3, - 0, "test.package.OtherClazz.method3()", new HostApplicationMetaDataRecord( - "testSystem", "testIp", "host", "application")); + 0, "test.package.OtherClazz.method3()", "ClazzF", + new HostApplicationMetaDataRecord("testSystem", "testIp", "host", "application")); beforeEvent2.setRuntimeStatisticInformation(new RuntimeStatisticInformation(1L)); traceEvents.add(beforeEvent2); @@ -50,8 +50,8 @@ public class AssociativityFilterTest { traceEvents.add(afterEvent2); final BeforeOperationEventRecord beforeEvent3 = new BeforeOperationEventRecord(7L, 1L, 5, - 0, "test.package.Clazz.method2()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.method2()", "ClazzF", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent3.setRuntimeStatisticInformation(new RuntimeStatisticInformation(2L)); traceEvents.add(beforeEvent3); @@ -60,8 +60,8 @@ public class AssociativityFilterTest { traceEvents.add(afterEvent3); final BeforeOperationEventRecord beforeEvent4 = new BeforeOperationEventRecord(10L, 1L, 7, - 0, "test.package.Clazz.method2()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.method2()", "ClazzF", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent4.setRuntimeStatisticInformation(new RuntimeStatisticInformation(1L)); traceEvents.add(beforeEvent4); @@ -81,14 +81,14 @@ public class AssociativityFilterTest { final List<AbstractEventRecord> traceEvents = new ArrayList<AbstractEventRecord>(); final BeforeOperationEventRecord beforeEvent = new BeforeOperationEventRecord(1L, 1L, 0, 0, - "test.package.Clazz.method1()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + "test.package.Clazz.method1()", "ClazzF", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent.setRuntimeStatisticInformation(new RuntimeStatisticInformation(11L)); traceEvents.add(beforeEvent); final BeforeOperationEventRecord beforeEvent2 = new BeforeOperationEventRecord(5L, 1L, 3, - 0, "test.package.OtherClazz.method3()", new HostApplicationMetaDataRecord( - "testSystem", "testIp", "host", "application")); + 0, "test.package.OtherClazz.method3()", "ClazzF", + new HostApplicationMetaDataRecord("testSystem", "testIp", "host", "application")); beforeEvent2.setRuntimeStatisticInformation(new RuntimeStatisticInformation(1L)); traceEvents.add(beforeEvent2); diff --git a/test/explorviz/live_trace_processing/filter/reduction/IterationFilterTest.java b/test/explorviz/live_trace_processing/filter/reduction/IterationFilterTest.java index 8bab72472c9ec825452d27c306d3a052a5a951b0..ae7ebc04bdaac8df880237f9f943530565e2e70a 100644 --- a/test/explorviz/live_trace_processing/filter/reduction/IterationFilterTest.java +++ b/test/explorviz/live_trace_processing/filter/reduction/IterationFilterTest.java @@ -24,16 +24,16 @@ public class IterationFilterTest { final List<AbstractEventRecord> traceEvents = new ArrayList<AbstractEventRecord>(); final BeforeOperationEventRecord beforeEvent = new BeforeOperationEventRecord(1L, 1L, 0, 0, - "test.package.Clazz.method1()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + "test.package.Clazz.method1()", "ClazzF", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent.setRuntimeStatisticInformation(new RuntimeStatisticInformation(11L)); traceEvents.add(beforeEvent); beforeEvent.getRuntimeStatisticInformation().makeAccumulator(0); final BeforeOperationEventRecord beforeEvent1 = new BeforeOperationEventRecord(2L, 1L, 1, - 0, "test.package.Clazz.method2()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.method2()", "ClazzF", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent1.setRuntimeStatisticInformation(new RuntimeStatisticInformation(2L)); traceEvents.add(beforeEvent1); @@ -42,8 +42,8 @@ public class IterationFilterTest { traceEvents.add(afterEvent1); final BeforeOperationEventRecord beforeEvent2 = new BeforeOperationEventRecord(5L, 1L, 3, - 0, "test.package.Clazz.method2()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.method2()", "ClazzF", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent2.setRuntimeStatisticInformation(new RuntimeStatisticInformation(1L)); traceEvents.add(beforeEvent2); @@ -52,8 +52,8 @@ public class IterationFilterTest { traceEvents.add(afterEvent2); final BeforeOperationEventRecord beforeEvent3 = new BeforeOperationEventRecord(7L, 1L, 5, - 0, "test.package.Clazz.method2()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.method2()", "ClazzF", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent3.setRuntimeStatisticInformation(new RuntimeStatisticInformation(2L)); traceEvents.add(beforeEvent3); @@ -62,8 +62,8 @@ public class IterationFilterTest { traceEvents.add(afterEvent3); final BeforeOperationEventRecord beforeEvent4 = new BeforeOperationEventRecord(10L, 1L, 7, - 0, "test.package.Clazz.method2()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.method2()", "ClazzF", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent4.setRuntimeStatisticInformation(new RuntimeStatisticInformation(1L)); traceEvents.add(beforeEvent4); @@ -84,11 +84,11 @@ public class IterationFilterTest { final HostApplicationMetaDataRecord hostApplicationMetadata = new HostApplicationMetaDataRecord( "testSystem", "testIp", "host", "application"); final BeforeOperationEventRecord beforeEvent = new BeforeOperationEventRecord(1L, 1L, 0, 0, - "test.package.Clazz.method1()", hostApplicationMetadata); + "test.package.Clazz.method1()", "ClazzF", hostApplicationMetadata); traceEvents.add(beforeEvent); beforeEvent.setRuntimeStatisticInformation(new RuntimeStatisticInformation(11L)); final BeforeOperationEventRecord beforeEvent1 = new BeforeOperationEventRecord(10L, 1L, 7, - 0, "test.package.Clazz.method2()", hostApplicationMetadata); + 0, "test.package.Clazz.method2()", "ClazzF", hostApplicationMetadata); traceEvents.add(beforeEvent1); beforeEvent1.setRuntimeStatisticInformation(new RuntimeStatisticInformation(4, 6, 10)); final AfterOperationEventRecord afterEvent1 = new AfterOperationEventRecord(11L, 1L, 8, diff --git a/test/explorviz/live_trace_processing/filter/reduction/MonotoneSubsequenceTest.java b/test/explorviz/live_trace_processing/filter/reduction/MonotoneSubsequenceTest.java index fe4cbc0ebfa223ecefe355711820f45f0eabb806..b03b3334983fb57cc7a6ec1064d815876778c27b 100644 --- a/test/explorviz/live_trace_processing/filter/reduction/MonotoneSubsequenceTest.java +++ b/test/explorviz/live_trace_processing/filter/reduction/MonotoneSubsequenceTest.java @@ -24,14 +24,14 @@ public class MonotoneSubsequenceTest { final List<AbstractEventRecord> traceEvents = new ArrayList<AbstractEventRecord>(); final BeforeOperationEventRecord beforeEvent = new BeforeOperationEventRecord(1L, 1L, 0, 0, - "test.package.Clazz.method1()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + "test.package.Clazz.method1()", "ClazzF", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent.setRuntimeStatisticInformation(new RuntimeStatisticInformation(11L)); traceEvents.add(beforeEvent); final BeforeOperationEventRecord beforeEvent1 = new BeforeOperationEventRecord(2L, 1L, 1, - 0, "test.package.Clazz.method2()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.method2()", "ClazzF", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent1.setRuntimeStatisticInformation(new RuntimeStatisticInformation(2L)); traceEvents.add(beforeEvent1); @@ -40,8 +40,8 @@ public class MonotoneSubsequenceTest { traceEvents.add(afterEvent1); final BeforeOperationEventRecord beforeEvent2 = new BeforeOperationEventRecord(5L, 1L, 3, - 0, "test.package.Clazz.method2()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.method2()", "ClazzF", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent2.setRuntimeStatisticInformation(new RuntimeStatisticInformation(1L)); traceEvents.add(beforeEvent2); @@ -50,8 +50,8 @@ public class MonotoneSubsequenceTest { traceEvents.add(afterEvent2); final BeforeOperationEventRecord beforeEvent3 = new BeforeOperationEventRecord(7L, 1L, 5, - 0, "test.package.Clazz.method2()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.method2()", "ClazzF", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent3.setRuntimeStatisticInformation(new RuntimeStatisticInformation(2L)); traceEvents.add(beforeEvent3); @@ -60,8 +60,8 @@ public class MonotoneSubsequenceTest { traceEvents.add(afterEvent3); final BeforeOperationEventRecord beforeEvent4 = new BeforeOperationEventRecord(10L, 1L, 7, - 0, "test.package.Clazz.method2()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.method2()", "ClazzF", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent4.setRuntimeStatisticInformation(new RuntimeStatisticInformation(1L)); traceEvents.add(beforeEvent4); @@ -84,7 +84,7 @@ public class MonotoneSubsequenceTest { "testSystem", "testIp", "host", "application"); final BeforeOperationEventRecord beforeEvent = new BeforeOperationEventRecord(1L, 1L, 0, 0, - "test.package.Clazz.method1()", hostApplicationMetadata); + "test.package.Clazz.method1()", "ClazzF", hostApplicationMetadata); traceEvents.add(beforeEvent); beforeEvent.setRuntimeStatisticInformation(new RuntimeStatisticInformation(11L)); diff --git a/test/explorviz/live_trace_processing/filter/reduction/PatternSummarizationTest.java b/test/explorviz/live_trace_processing/filter/reduction/PatternSummarizationTest.java index 9410f4a8863d6734a2756c2221c887ff3ed24c4e..e54fc47b7aa07339f2cd3385810a63ebd478c76a 100644 --- a/test/explorviz/live_trace_processing/filter/reduction/PatternSummarizationTest.java +++ b/test/explorviz/live_trace_processing/filter/reduction/PatternSummarizationTest.java @@ -19,14 +19,14 @@ public class PatternSummarizationTest { final List<AbstractEventRecord> traceEvents = new ArrayList<AbstractEventRecord>(); final BeforeOperationEventRecord beforeEvent = new BeforeOperationEventRecord(1L, 1L, 0, 0, - "test.package.Clazz.A()", new HostApplicationMetaDataRecord("testSystem", "testIp", - "host", "application")); + "test.package.Clazz.A()", "ClazzA", new HostApplicationMetaDataRecord("testSystem", + "testIp", "host", "application")); beforeEvent.setRuntimeStatisticInformation(new RuntimeStatisticInformation(31L)); traceEvents.add(beforeEvent); final BeforeOperationEventRecord beforeEvent1 = new BeforeOperationEventRecord(2L, 1L, 1, - 0, "test.package.Clazz.B()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.B()", "ClazzB", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent1.setRuntimeStatisticInformation(new RuntimeStatisticInformation(2L)); traceEvents.add(beforeEvent1); @@ -35,8 +35,8 @@ public class PatternSummarizationTest { traceEvents.add(afterEvent1); final BeforeOperationEventRecord beforeEvent2 = new BeforeOperationEventRecord(5L, 1L, 3, - 0, "test.package.Clazz.C()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.C()", "ClazzC", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent2.setRuntimeStatisticInformation(new RuntimeStatisticInformation(1L)); traceEvents.add(beforeEvent2); @@ -45,14 +45,14 @@ public class PatternSummarizationTest { traceEvents.add(afterEvent2); final BeforeOperationEventRecord beforeEvent3 = new BeforeOperationEventRecord(7L, 1L, 5, - 0, "test.package.Clazz.D()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.D()", "ClazzD", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent3.setRuntimeStatisticInformation(new RuntimeStatisticInformation(9L)); traceEvents.add(beforeEvent3); final BeforeOperationEventRecord beforeEvent4 = new BeforeOperationEventRecord(8L, 1L, 6, - 0, "test.package.Clazz.E()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.E()", "ClazzE", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent4.setRuntimeStatisticInformation(new RuntimeStatisticInformation(1L)); traceEvents.add(beforeEvent4); @@ -61,8 +61,8 @@ public class PatternSummarizationTest { traceEvents.add(afterEvent4); final BeforeOperationEventRecord beforeEvent5 = new BeforeOperationEventRecord(10L, 1L, 8, - 0, "test.package.Clazz.F()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.F()", "ClazzF", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent5.setRuntimeStatisticInformation(new RuntimeStatisticInformation(1L)); traceEvents.add(beforeEvent5); @@ -71,8 +71,8 @@ public class PatternSummarizationTest { traceEvents.add(afterEvent5); final BeforeOperationEventRecord beforeEvent6 = new BeforeOperationEventRecord(12L, 1L, 10, - 0, "test.package.Clazz.E()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.E()", "ClazzE", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent6.setRuntimeStatisticInformation(new RuntimeStatisticInformation(1L)); traceEvents.add(beforeEvent6); @@ -81,8 +81,8 @@ public class PatternSummarizationTest { traceEvents.add(afterEvent6); final BeforeOperationEventRecord beforeEvent7 = new BeforeOperationEventRecord(14L, 1L, 12, - 0, "test.package.Clazz.F()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.F()", "ClazzF", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent7.setRuntimeStatisticInformation(new RuntimeStatisticInformation(1L)); traceEvents.add(beforeEvent7); @@ -95,8 +95,8 @@ public class PatternSummarizationTest { traceEvents.add(afterEvent3); final BeforeOperationEventRecord beforeEvent8 = new BeforeOperationEventRecord(17L, 1L, 15, - 0, "test.package.Clazz.B()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.B()", "ClazzB", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent8.setRuntimeStatisticInformation(new RuntimeStatisticInformation(2L)); traceEvents.add(beforeEvent8); @@ -105,8 +105,8 @@ public class PatternSummarizationTest { traceEvents.add(afterEvent8); final BeforeOperationEventRecord beforeEvent9 = new BeforeOperationEventRecord(20L, 1L, 17, - 0, "test.package.Clazz.C()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.C()", "ClazzC", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent9.setRuntimeStatisticInformation(new RuntimeStatisticInformation(1L)); traceEvents.add(beforeEvent9); @@ -115,14 +115,14 @@ public class PatternSummarizationTest { traceEvents.add(afterEvent9); final BeforeOperationEventRecord beforeEvent10 = new BeforeOperationEventRecord(22L, 1L, - 19, 0, "test.package.Clazz.D()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 19, 0, "test.package.Clazz.D()", "ClazzD", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent10.setRuntimeStatisticInformation(new RuntimeStatisticInformation(9L)); traceEvents.add(beforeEvent10); final BeforeOperationEventRecord beforeEvent11 = new BeforeOperationEventRecord(23L, 1L, - 20, 0, "test.package.Clazz.E()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 20, 0, "test.package.Clazz.E()", "ClazzE", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent11.setRuntimeStatisticInformation(new RuntimeStatisticInformation(1L)); traceEvents.add(beforeEvent11); @@ -131,8 +131,8 @@ public class PatternSummarizationTest { traceEvents.add(afterEvent11); final BeforeOperationEventRecord beforeEvent12 = new BeforeOperationEventRecord(25L, 1L, - 22, 0, "test.package.Clazz.F()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 22, 0, "test.package.Clazz.F()", "ClazzF", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent12.setRuntimeStatisticInformation(new RuntimeStatisticInformation(1L)); traceEvents.add(beforeEvent12); @@ -141,8 +141,8 @@ public class PatternSummarizationTest { traceEvents.add(afterEvent12); final BeforeOperationEventRecord beforeEvent13 = new BeforeOperationEventRecord(27L, 1L, - 24, 0, "test.package.Clazz.E()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 24, 0, "test.package.Clazz.E()", "ClazzE", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent13.setRuntimeStatisticInformation(new RuntimeStatisticInformation(1L)); traceEvents.add(beforeEvent13); @@ -151,8 +151,8 @@ public class PatternSummarizationTest { traceEvents.add(afterEvent13); final BeforeOperationEventRecord beforeEvent14 = new BeforeOperationEventRecord(29L, 1L, - 26, 0, "test.package.Clazz.F()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 26, 0, "test.package.Clazz.F()", "ClazzF", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent14.setRuntimeStatisticInformation(new RuntimeStatisticInformation(1L)); traceEvents.add(beforeEvent14); @@ -176,14 +176,14 @@ public class PatternSummarizationTest { final List<AbstractEventRecord> traceEvents = new ArrayList<AbstractEventRecord>(); final BeforeOperationEventRecord beforeEvent = new BeforeOperationEventRecord(1L, 1L, 0, 0, - "test.package.Clazz.A()", new HostApplicationMetaDataRecord("testSystem", "testIp", - "host", "application")); + "test.package.Clazz.A()", "ClazzA", new HostApplicationMetaDataRecord("testSystem", + "testIp", "host", "application")); beforeEvent.setRuntimeStatisticInformation(new RuntimeStatisticInformation(31L)); traceEvents.add(beforeEvent); final BeforeOperationEventRecord beforeEvent1 = new BeforeOperationEventRecord(2L, 1L, 1, - 0, "test.package.Clazz.B()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.B()", "ClazzB", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent1.setRuntimeStatisticInformation(new RuntimeStatisticInformation(2, 4, 8)); traceEvents.add(beforeEvent1); @@ -192,8 +192,8 @@ public class PatternSummarizationTest { traceEvents.add(afterEvent1); final BeforeOperationEventRecord beforeEvent2 = new BeforeOperationEventRecord(5L, 1L, 3, - 0, "test.package.Clazz.C()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.C()", "ClazzC", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent2.setRuntimeStatisticInformation(new RuntimeStatisticInformation(2, 2, 2)); traceEvents.add(beforeEvent2); @@ -202,14 +202,14 @@ public class PatternSummarizationTest { traceEvents.add(afterEvent2); final BeforeOperationEventRecord beforeEvent3 = new BeforeOperationEventRecord(7L, 1L, 5, - 0, "test.package.Clazz.D()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.D()", "ClazzD", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent3.setRuntimeStatisticInformation(new RuntimeStatisticInformation(2, 18, 162)); traceEvents.add(beforeEvent3); final BeforeOperationEventRecord beforeEvent4 = new BeforeOperationEventRecord(8L, 1L, 6, - 0, "test.package.Clazz.E()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.E()", "ClazzE", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent4.setRuntimeStatisticInformation(new RuntimeStatisticInformation(4, 4, 4)); traceEvents.add(beforeEvent4); @@ -218,8 +218,8 @@ public class PatternSummarizationTest { traceEvents.add(afterEvent4); final BeforeOperationEventRecord beforeEvent5 = new BeforeOperationEventRecord(10L, 1L, 8, - 0, "test.package.Clazz.F()", new HostApplicationMetaDataRecord("testSystem", - "testIp", "host", "application")); + 0, "test.package.Clazz.F()", "ClazzF", new HostApplicationMetaDataRecord( + "testSystem", "testIp", "host", "application")); beforeEvent5.setRuntimeStatisticInformation(new RuntimeStatisticInformation(4, 4, 4)); traceEvents.add(beforeEvent5);