/** Stop timing of the latest item */ public static void endItem() { profiler.endItem(); }
/** Stop timing of the latest item */ public static void endItem() { profiler.endItem(); }
/** Stop timing of the latest item */ public static void endItem() { profiler.endItem(); }
/** * @param notUsed */ public static void main(String[] notUsed) { try { profiler.beginItem("first item"); Thread.sleep(3000); profiler.beginItem("second item here dude whoa yowser yowser"); Thread.sleep(1500); profiler.endItem(); profiler.endItem(); System.out.println("" + profiler); } catch (Exception e) { } } static ProfilerImpl profiler = new ProfilerImpl();
/** * @param notUsed */ public static void main(String[] notUsed) { try { profiler.beginItem("first item"); Thread.sleep(3000); profiler.beginItem("second item here dude whoa yowser yowser"); Thread.sleep(1500); profiler.endItem(); profiler.endItem(); System.out.println("" + profiler); } catch (Exception e) { } } static ProfilerImpl profiler = new ProfilerImpl();
/** * @param notUsed */ public static void main(String[] notUsed) { try { profiler.beginItem("first item"); Thread.sleep(3000); profiler.beginItem("second item here dude whoa yowser yowser"); Thread.sleep(1500); profiler.endItem(); profiler.endItem(); System.out.println("" + profiler); } catch (Exception e) { } } static ProfilerImpl profiler = new ProfilerImpl();
/** Simple unit test **/ public static void main(String[] notUsed) { ProfilerImpl p = new ProfilerImpl(); try { p.beginItem("first item"); Thread.sleep(3000); p.beginItem("second item here dude whoa yowser yowser"); Thread.sleep(1500); p.endItem(); p.endItem(); System.out.println("" + p); } catch (Exception e) { } } }
/** Simple unit test **/ public static void main(String[] notUsed) { ProfilerImpl p = new ProfilerImpl(); try { p.beginItem("first item"); Thread.sleep(3000); p.beginItem("second item here dude whoa yowser yowser"); Thread.sleep(1500); p.endItem(); p.endItem(); System.out.println("" + p); } catch (Exception e) { } } }
/** Simple unit test **/ public static void main(String[] notUsed) { ProfilerImpl p = new ProfilerImpl(); try { p.beginItem("first item"); Thread.sleep(3000); p.beginItem("second item here dude whoa yowser yowser"); Thread.sleep(1500); p.endItem(); p.endItem(); System.out.println("" + p); } catch (Exception e) { } } }