clocksource.h revision 271127
1271127Shselasky/*- 2271127Shselasky * Copyright (c) 2010 Isilon Systems, Inc. 3271127Shselasky * Copyright (c) 2010 iX Systems, Inc. 4271127Shselasky * Copyright (c) 2010 Panasas, Inc. 5271127Shselasky * Copyright (c) 2013, 2014 Mellanox Technologies, Ltd. 6271127Shselasky * All rights reserved. 7255932Salfred * 8271127Shselasky * Redistribution and use in source and binary forms, with or without 9271127Shselasky * modification, are permitted provided that the following conditions 10271127Shselasky * are met: 11271127Shselasky * 1. Redistributions of source code must retain the above copyright 12271127Shselasky * notice unmodified, this list of conditions, and the following 13271127Shselasky * disclaimer. 14271127Shselasky * 2. Redistributions in binary form must reproduce the above copyright 15271127Shselasky * notice, this list of conditions and the following disclaimer in the 16271127Shselasky * documentation and/or other materials provided with the distribution. 17255932Salfred * 18271127Shselasky * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 19271127Shselasky * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 20271127Shselasky * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 21271127Shselasky * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 22271127Shselasky * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 23271127Shselasky * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24271127Shselasky * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25271127Shselasky * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26271127Shselasky * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27271127Shselasky * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28255932Salfred */ 29271127Shselasky 30255932Salfred#ifndef _LINUX_CLOCKSOURCE_H 31255932Salfred#define _LINUX_CLOCKSOURCE_H 32255932Salfred 33255932Salfred/* clocksource cycle base type */ 34255932Salfredtypedef u64 cycle_t; 35255932Salfred 36255932Salfred 37255932Salfred#endif /* _LINUX_CLOCKSOURCE_H */ 38