equal
deleted
inserted
replaced
56 return java.util.Collections.emptyMap(); |
56 return java.util.Collections.emptyMap(); |
57 } |
57 } |
58 String[] names = new String[count]; |
58 String[] names = new String[count]; |
59 long[] times = new long[count]; |
59 long[] times = new long[count]; |
60 int numThreads = getInternalThreadTimes0(names, times); |
60 int numThreads = getInternalThreadTimes0(names, times); |
61 Map<String, Long> result = new HashMap<String, Long>(numThreads); |
61 Map<String, Long> result = new HashMap<>(numThreads); |
62 for (int i = 0; i < numThreads; i++) { |
62 for (int i = 0; i < numThreads; i++) { |
63 result.put(names[i], new Long(times[i])); |
63 result.put(names[i], new Long(times[i])); |
64 } |
64 } |
65 return result; |
65 return result; |
66 } |
66 } |