2005-04-16 22:20:36 +00:00
|
|
|
/*
|
2008-08-02 09:55:55 +00:00
|
|
|
* arch/arm/include/asm/timex.h
|
2005-04-16 22:20:36 +00:00
|
|
|
*
|
|
|
|
* Copyright (C) 1997,1998 Russell King
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* Architecture Specific TIME specifications
|
|
|
|
*/
|
|
|
|
#ifndef _ASMARM_TIMEX_H
|
|
|
|
#define _ASMARM_TIMEX_H
|
|
|
|
|
|
|
|
typedef unsigned long cycles_t;
|
2012-07-06 14:46:45 +00:00
|
|
|
#define get_cycles() ({ cycles_t c; read_current_timer(&c) ? 0 : c; })
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
#endif
|