Lines Matching defs:name
53 * Returns the performance counter with the given name.
55 * @param name The name of the performance counter.
56 * @throws IllegalArgumentException If no counter with the given name exists.
58 * @return The performance counter with the given name.
60 public static PerfCounter findByName(String name)
62 Monitor m = vm.findByName(name);
64 throw new IllegalArgumentException("Did not find a performance counter with name " + name);
66 return new PerfCounter(m, name);