tick.h revision 183201
181391Sjake/*- 281391Sjake * Copyright (c) 2001 Jake Burkholder. 381391Sjake * All rights reserved. 481391Sjake * 581391Sjake * Redistribution and use in source and binary forms, with or without 681391Sjake * modification, are permitted provided that the following conditions 781391Sjake * are met: 881391Sjake * 1. Redistributions of source code must retain the above copyright 981391Sjake * notice, this list of conditions and the following disclaimer. 1081391Sjake * 2. Redistributions in binary form must reproduce the above copyright 1181391Sjake * notice, this list of conditions and the following disclaimer in the 1281391Sjake * documentation and/or other materials provided with the distribution. 1381391Sjake * 1481391Sjake * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1581391Sjake * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1681391Sjake * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1781391Sjake * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1881391Sjake * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1981391Sjake * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2081391Sjake * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2181391Sjake * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2281391Sjake * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2381391Sjake * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2481391Sjake * SUCH DAMAGE. 2581391Sjake * 2681391Sjake * $FreeBSD: head/sys/sparc64/include/tick.h 183201 2008-09-20 11:26:13Z marius $ 2781391Sjake */ 2881391Sjake 2981391Sjake#ifndef _MACHINE_TICK_H_ 3081391Sjake#define _MACHINE_TICK_H_ 3181391Sjake 32183201Smariusextern u_int hardclock_use_stick; 33183201Smarius 34182730Smariusvoid tick_clear(void); 35145150Smariusvoid tick_start(void); 3681391Sjakevoid tick_stop(void); 3781391Sjake 3881391Sjake#endif 39