mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 11:20:07 +00:00
Update.
* sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
This commit is contained in:
parent
295125c542
commit
44c51e9ab0
@ -47,6 +47,7 @@
|
|||||||
|
|
||||||
* sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
|
* sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
|
||||||
Use hp_timing_t type.
|
Use hp_timing_t type.
|
||||||
|
* sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
|
* sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
|
||||||
|
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2001-04-23 Ulrich Drepper <drepper@redhat.com>
|
2001-04-23 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/pthread/getcpuclockid.c: Make function generic, test
|
||||||
|
using #ifdef whether the clock is available.
|
||||||
|
* sysdeps/unix/sysv/linux/i386/getcpuclockid.c: Removed.
|
||||||
|
|
||||||
* sysdeps/ia64/Versions: New file.
|
* sysdeps/ia64/Versions: New file.
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/ia64/pt-initfini.c (_init): We don't
|
* sysdeps/unix/sysv/linux/ia64/pt-initfini.c (_init): We don't
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
clock_getcpuclockid (pid_t pid, clockid_t *clock_id)
|
clock_getcpuclockid (pid_t pid, clockid_t *clock_id)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Get frequency of the system processor.
|
/* Get frequency of the system processor.
|
||||||
Copyright (C) 2000 Free Software Foundation, Inc.
|
Copyright (C) 2000, 2001 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -19,10 +19,10 @@
|
|||||||
|
|
||||||
#include <libc-internal.h>
|
#include <libc-internal.h>
|
||||||
|
|
||||||
unsigned long long int
|
hp_timing_t
|
||||||
__get_clockfreq (void)
|
__get_clockfreq (void)
|
||||||
{
|
{
|
||||||
/* There is no generic way to find this out since we have in general
|
/* There is no generic way to find this out since we have in general
|
||||||
no counter register either. */
|
no counter register either. */
|
||||||
return 0ull;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user