List<Entry> entries = machine.getEntries();
for (Entry temp : entries) {
Map<String, JavaThread> threads = temp.getThreads();
for (java.util.Map.Entry<String, JavaThread> entry : threads.entrySet()) {
JavaThread thread = entry.getValue();
String groupName = thread.getGroupName();
String threadId = thread.getId();
GroupStatistics statistics = findOrCreatGroupStatistics(groupName, m_minutes);
if (groupName.equals(m_groupName)) {
statistics.add(threadId, thread.getSegments(), m_minutes, temp.getType());
findOrCreatThreadInfo(groupName, threadId);
} else {
statistics.add(groupName, thread.getSegments(), m_minutes, temp.getType());
findOrCreatThreadInfo(groupName, groupName);
}
}
}
long currentTimeMillis = System.currentTimeMillis();