|
Packit Bot |
0c2104 |
/* Get frequency of the system processor.
|
|
Packit Bot |
0c2104 |
Copyright (C) 2000-2018 Free Software Foundation, Inc.
|
|
Packit Service |
0bbb8c |
This file is part of the GNU C Library.
|
|
Packit Service |
0bbb8c |
|
|
Packit Service |
0bbb8c |
The GNU C Library is free software; you can redistribute it and/or
|
|
Packit Service |
0bbb8c |
modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
0bbb8c |
License as published by the Free Software Foundation; either
|
|
Packit Service |
0bbb8c |
version 2.1 of the License, or (at your option) any later version.
|
|
Packit Service |
0bbb8c |
|
|
Packit Service |
0bbb8c |
The GNU C Library is distributed in the hope that it will be useful,
|
|
Packit Service |
0bbb8c |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
0bbb8c |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
0bbb8c |
Lesser General Public License for more details.
|
|
Packit Service |
0bbb8c |
|
|
Packit Service |
0bbb8c |
You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
0bbb8c |
License along with the GNU C Library; if not, see
|
|
Packit Service |
0bbb8c |
<http://www.gnu.org/licenses/>. */
|
|
Packit Service |
0bbb8c |
|
|
Packit Bot |
0c2104 |
#include <libc-internal.h>
|
|
Packit Service |
0bbb8c |
|
|
Packit Bot |
0c2104 |
hp_timing_t
|
|
Packit Bot |
0c2104 |
__get_clockfreq (void)
|
|
Packit Service |
0bbb8c |
{
|
|
Packit Bot |
0c2104 |
/* There is no generic way to find this out since we have in general
|
|
Packit Bot |
0c2104 |
no counter register either. */
|
|
Packit Service |
0bbb8c |
return 0;
|
|
Packit Service |
0bbb8c |
}
|