|
Packit |
bbfece |
/* Copyright (C) 2012-2018 Free Software Foundation, Inc.
|
|
Packit |
bbfece |
|
|
Packit |
bbfece |
This file is part of GNU Binutils.
|
|
Packit |
bbfece |
|
|
Packit |
bbfece |
This program is free software; you can redistribute it and/or modify
|
|
Packit |
bbfece |
it under the terms of the GNU General Public License as published by
|
|
Packit |
bbfece |
the Free Software Foundation; either version 3 of the License, or
|
|
Packit |
bbfece |
(at your option) any later version.
|
|
Packit |
bbfece |
|
|
Packit |
bbfece |
This program is distributed in the hope that it will be useful,
|
|
Packit |
bbfece |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
bbfece |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit |
bbfece |
GNU General Public License for more details.
|
|
Packit |
bbfece |
|
|
Packit |
bbfece |
You should have received a copy of the GNU General Public License
|
|
Packit |
bbfece |
along with this program; if not, write to the Free Software
|
|
Packit |
bbfece |
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
|
|
Packit |
bbfece |
MA 02110-1301, USA. */
|
|
Packit |
bbfece |
|
|
Packit |
bbfece |
#ifndef hertz_h
|
|
Packit |
bbfece |
#define hertz_h
|
|
Packit |
bbfece |
|
|
Packit |
bbfece |
#define HZ_WRONG 0 /* impossible clock frequency */
|
|
Packit |
bbfece |
|
|
Packit |
bbfece |
/*
|
|
Packit |
bbfece |
* Discover the tick frequency of the machine if something goes wrong,
|
|
Packit |
bbfece |
* we return HZ_WRONG, an impossible sampling frequency.
|
|
Packit |
bbfece |
*/
|
|
Packit |
bbfece |
|
|
Packit |
bbfece |
extern int hertz (void);
|
|
Packit |
bbfece |
|
|
Packit |
bbfece |
#endif /* hertz_h */
|