1 /* ========================================== 2 * JperfProbe : Java Performance Probes 3 * ========================================== 4 * 5 * Project Info: http://jperfprobe.sourceforge.net/ 6 * Project Lead: Tor-Erik Larsen (http://sourceforge.net/users/uptime62) 7 * 8 * (C) Copyright 2005, by Tor-Erik Larsen and Contributors. 9 * 10 * This library is free software; you can redistribute it and/or modify it 11 * under the terms of the GNU Lesser General Public License as published by 12 * the Free Software Foundation; either version 2.1 of the License, or 13 * (at your option) any later version. 14 * 15 * This library is distributed in the hope that it will be useful, but 16 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 17 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 18 * License for more details. 19 * 20 * You should have received a copy of the GNU Lesser General Public License 21 * along with this library; if not, write to the Free Software Foundation, Inc., 22 * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 23 */ 24 package net.sf.jperfprobe; 25 26 /** 27 * Class CountProbe 28 * 29 * @author Tor-Erik Larsen 30 * Date: 09.okt.2007 31 * Time: 07:47:57 32 */ 33 public class CountProbe { 34 private long currentSecond; 35 private Time time = new SystemTime(); 36 37 public void count() { 38 long t = time.getNanos(); 39 40 // er denne t innen samme secund 41 42 43 } 44 }