mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Implemented GetHiResClock() for HP-UX.
This commit is contained in:
parent
e4239565d5
commit
dd57e5256d
@ -65,10 +65,15 @@ GetHighResClock(void *buf, size_t maxbytes)
|
|||||||
#elif defined(HPUX)
|
#elif defined(HPUX)
|
||||||
|
|
||||||
#ifdef __ia64
|
#ifdef __ia64
|
||||||
|
#include <ia64/sys/inline.h>
|
||||||
|
|
||||||
static size_t
|
static size_t
|
||||||
GetHighResClock(void *buf, size_t maxbytes)
|
GetHighResClock(void *buf, size_t maxbytes)
|
||||||
{
|
{
|
||||||
return 0;
|
PRUint64 t;
|
||||||
|
|
||||||
|
t = _Asm_mov_from_ar(_AREG44);
|
||||||
|
return _pr_CopyLowBits(buf, maxbytes, &t, sizeof(t));
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static size_t
|
static size_t
|
||||||
|
Loading…
Reference in New Issue
Block a user