clocksource.h revision 270710
1270710Shselasky/*- 2270710Shselasky * Copyright (c) 2010 Isilon Systems, Inc. 3270710Shselasky * Copyright (c) 2010 iX Systems, Inc. 4270710Shselasky * Copyright (c) 2010 Panasas, Inc. 5270710Shselasky * Copyright (c) 2013, 2014 Mellanox Technologies, Ltd. 6270710Shselasky * All rights reserved. 7255932Salfred * 8270710Shselasky * Redistribution and use in source and binary forms, with or without 9270710Shselasky * modification, are permitted provided that the following conditions 10270710Shselasky * are met: 11270710Shselasky * 1. Redistributions of source code must retain the above copyright 12270710Shselasky * notice unmodified, this list of conditions, and the following 13270710Shselasky * disclaimer. 14270710Shselasky * 2. Redistributions in binary form must reproduce the above copyright 15270710Shselasky * notice, this list of conditions and the following disclaimer in the 16270710Shselasky * documentation and/or other materials provided with the distribution. 17255932Salfred * 18270710Shselasky * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 19270710Shselasky * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 20270710Shselasky * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 21270710Shselasky * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 22270710Shselasky * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 23270710Shselasky * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24270710Shselasky * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25270710Shselasky * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26270710Shselasky * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27270710Shselasky * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28255932Salfred */ 29270710Shselasky 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